User manual
Chapter 3 Software Overview
© National Instruments Corporation 3-37 NI-DAQ User Manual for PC Compatibles
Simple Analog Output Application
Figure 3-13 illustrates the basic series of calls for a simple analog output
application.
Figure 3-13. Simple Analog Output Application
The call to
AO_Configure
in Figure 3-13 must be made only if you have
changed the jumper settings of an MIO, AT-AO-6/10, or Lab-PC+ device.
Youalsomightcall
AO_Configure
to enable external updating of the
voltage. When you select external update mode, voltages written to the
device are not output until you apply a pulse to pin 48 (EXTUPDATE) on
the AT-AO-6/10, to pin 39 (EXTUPDATE) on the Lab and 1200 analog
output devices, or to the selected pin on an E Series device or 671X device.
You can simultaneously change the voltages at all the analog output
channels. The final steps in Figure 3-13 form a simple loop. New voltages
are output until the data ends.
Analog Output with Software Update Application
Another application option is to enable later software updates. Like the
external update mode, voltages written to the device are not immediately
output. Instead, the device does not output the voltages until you call
AO_Update
. In later software update mode, the device changes voltages
simultaneously at all the channels. Figure 3-14 illustrates a modified
version of the flowchart in Figure 3-13.
No
Ye s
Done outputting data?
AO_VWrite
Account for any changes in the
jumper settings. Enable
external update pulses?
Output voltage to board.
AO_Configure










