
Chapter 4
Programming
© National Instruments Corporation
4-45
AT-MIO-16D User Manual
Table 4-2. Straight Binary Mode A/D Conversion Values
Input Voltage
A/D Conversion Result
(Gain = 1)
Range: 0 to 10 V
Decimal
Hex
0
0
0000
2.5
1,024
0400
5.0
2,048
0800
7.5
3,072
0C00
9.9976
4,095
0FFF
To convert from the A/D FIFO value to the input voltage measured, use the following formula:
V = A/D Count * 10 V
4,096
Gain
Table 4-3. Two's Complement Mode A/D Conversion Values
Input Voltage
A/D Conversion Result
(Gain = 1)
Range: -5 to +5 V
Range: -10 to +10 V
Decimal
Hex
Decimal
Hex
-10.0
—
—
-2,048
F800
-5.0
-2,048
F800
-1,024
FC00
-2.5
-1,024
FC00
-512
FE00
0
0
0000
0
0000
2.5
1,024
0400
512
0200
4.9976
2,047
07FF
—
—
5.0
—
—
1,024
0400
9.9951
—
—
2,047
07FF
To convert from the A/D FIFO value to the input voltage measured, use the appropriate formula
as follows:
±
5 V Range = A/D Count * 5 V
2,048
Gain
±
10 V Range = A/D Count * 10 V
2,048
Gain
Clearing the Analog Input Circuitry
The analog input circuitry can be cleared by writing to the A/D Clear Register. This operation
leaves the analog input circuitry in the following state:
Summary of Contents for AT-MIO-16D
Page 16: ......
Page 23: ......
Page 185: ......
Page 206: ......
Page 207: ......
Page 208: ......
Page 209: ......
Page 210: ......
Page 211: ......
Page 212: ......
Page 213: ......
Page 214: ......
Page 215: ......
Page 216: ......
Page 217: ......
Page 218: ......
Page 219: ......
Page 220: ......
Page 221: ......
Page 222: ......
Page 223: ......
Page 224: ......
Page 225: ......
Page 226: ......
Page 227: ......
Page 228: ......
Page 229: ......
Page 230: ......
Page 231: ......
Page 232: ......
Page 233: ......
Page 234: ......
Page 235: ......
Page 236: ......
Page 237: ......
Page 238: ......
Page 239: ......
Page 240: ......
Page 241: ......
Page 242: ......
Page 243: ......
Page 244: ......
Page 246: ......
Page 247: ......
Page 248: ......
Page 249: ......
Page 250: ......
Page 251: ......
Page 252: ......
Page 253: ......
Page 254: ......
Page 255: ......
Page 256: ......
Page 257: ......
Page 258: ......
Page 259: ......
Page 260: ......
Page 261: ......