Programming
Chapter 5
AT-MIO-64F-5 User Manual
5-4
© National Instruments Corporation
Programming the Analog Input Circuitry
The analog input circuitry can be programmed for a number of different modes depending on the
application. If single channels are to be monitored on an
ad hoc
basis, then the single conversion
mode can be used. If a number of consecutive conversions on any one given channel are
required, the single channel data acquisition mode should be used. If more than one channel
needs to be monitored with multiple conversions per channel, the scanning data acquisition mode
should be used. This mode scans through a programmed number of channels, each having its
own gain, mode, and range setting. The channels are scanned in a round-robin fashion, separated
in time by the programmed sample interval. The final mode is the interval-scanning mode. This
mode should be used if more than one channel needs to be monitored, but not scanned at full
speed. Interval scanning sequences through the scan list with each channel conversion separated
in time by the programmed sample interval, then waits a scan interval before rescanning the list
of channels. The programming of each of these acquisition modes is described in the following
sections.
Single Conversions Using the SCONVERT or EXTCONV* Signal
Programming the analog input circuitry to obtain a single A/D conversion involves the following
sequence of steps listed in Figure 5-2.
END
START
Select a single analog
input channel, gain,
mode, and range
Clear the A/D
circuitry
Initiate a single
A/D conversion
Read the A/D
conversion result
Figure 5-2. Single Conversion Programming
Содержание AT-MIO-64F-5
Страница 13: ......
Страница 16: ......
Страница 200: ......
Страница 201: ......
Страница 202: ......
Страница 203: ......
Страница 204: ......
Страница 205: ......
Страница 206: ......
Страница 207: ......
Страница 208: ......
Страница 209: ......
Страница 210: ......
Страница 211: ......
Страница 212: ......
Страница 213: ......
Страница 214: ......
Страница 215: ......
Страница 216: ......
Страница 217: ......
Страница 218: ......
Страница 219: ......
Страница 220: ......
Страница 221: ......
Страница 222: ......
Страница 223: ......
Страница 224: ......
Страница 225: ......
Страница 226: ......
Страница 227: ......
Страница 228: ......
Страница 229: ......
Страница 230: ......
Страница 231: ......
Страница 232: ......
Страница 233: ......
Страница 234: ......
Страница 235: ......
Страница 236: ......
Страница 237: ......
Страница 238: ......