rsdoran
Lifetime Supporting Member
This is a refresher for me on analog, I am writing it to be sure I remember without having to look for the info in books etc.
Analog cards can (in most cases) use:
0 to 10v
-10 to 10v
0 to 5 or 1 to 5v
0 to 20ma or 4 to 20ma
This is the part I want to make sure is right.
10 bit card is 2^10 (2 to the 10th power)=1024
12 bit card is 2^12 (2 to the 12th power)=4096
16 bit card is 2^16 (2 to the 16th power)=65536
Using say a 12 bit card with a 0 to 10 volt input or output would require scaling those values:
0=0
1=409.6
2=819.2
etc
Obtained by dividing the max of 10v into 4096
Of course to obtain more precision you would use smaller factors like .1v or .5v, 2.7v ....ie with the 10v value you would use either 100 or 1000 as the divisor.
Overall does this cover the basics?
Analog cards can (in most cases) use:
0 to 10v
-10 to 10v
0 to 5 or 1 to 5v
0 to 20ma or 4 to 20ma
This is the part I want to make sure is right.
10 bit card is 2^10 (2 to the 10th power)=1024
12 bit card is 2^12 (2 to the 12th power)=4096
16 bit card is 2^16 (2 to the 16th power)=65536
Using say a 12 bit card with a 0 to 10 volt input or output would require scaling those values:
0=0
1=409.6
2=819.2
etc
Obtained by dividing the max of 10v into 4096
Of course to obtain more precision you would use smaller factors like .1v or .5v, 2.7v ....ie with the 10v value you would use either 100 or 1000 as the divisor.
Overall does this cover the basics?
Last edited: