National Instruments 320174B-01 Computer Hardware User Manual


 
Register-Level Programming Chapter 4
Lab-NB User Manual 4-8 © National Instruments Corporation
Bit Name Description (continued)
Channel Scanning later in this chapter for the correct sequence
involved in setting the SCANEN bit.
3–1 GAIN<2..0> Gain Bit—These three bits select the gain setting as follows:
GAIN<2..0> Selected Gain
000
001
010
011
100
101
110
111
1
1.25
2
5
10
20
50
100
0 TWOSCMP Two’s Complement Bit—This bit selects the format of the coding
of the output of the ADC. If this bit is set, the 12-bit data from the
ADC is sign-extended to 16 bits. If this bit is cleared, bits
<15..12> return 0.