Chapter 5 Programming
©
National Instruments Corporation 5-11 AT-MIO-16X User Manual
Figure 5-4. Scanning Data Acquisition Programming
Setting the SCANEN bit in conjunction with the DAQEN bit in
Command Register 1 enables scanning during multiple A/D
conversions. The SCANEN bit must be set regardless of the type of
scanning used (continuous or interval); otherwise, only a single channel
is scanned.
START
Program multiple analog
input channels, gains,
modes, and ranges
Program the
sample-interval
counter
Program the
sample counter
Clear the A/D
circuitry
Enable a scanning
data acquisition
operation
END
Apply a trigger
Service the data
acquisition operation