Programming instructions
Chapter 12 Buffering Your Way through Waveform Generation
LabVIEW Data Acquisition Basics Manual 12-2
©
National Instruments Corporation
Figure 12-1.
Waveform Generation Using the AO Generate Waveforms VI
As with single-point analog output, you can use the Analog Output Utility
VI, AO Waveform Gen VI, for most of your programming needs. This VI
has several inputs and outputs that the Easy I/O VI does not have. You have
the option of having the data array generated once, several times, or
continuously through the
generation count
input. Figure 12-2 shows an
example diagram of how to program this VI.
Figure 12-2.
Waveform Generation Using the AO Waveform Gen VI
In this example, LabVIEW generates the data in the array two times before
stopping.
The Generate N Updates example VI, located in
labview\examples\
daq\anlogout\anlogout.llb
, uses the AO Waveform Gen VI. Placing
this VI in a loop and wiring the iteration terminal of the loop to the iteration
input on the VI optimizes the execution of this VI. When iteration is 0,
LabVIEW configures the analog output channels appropriately. If iteration
is greater than 0, LabVIEW uses the existing configuration, which
improves performance. With the AO Waveform Gen VI, you also can
specify the limit settings input for each analog output channel. For more










