Programming instructions
Chapter 12 Buffering Your Way through Waveform Generation
©
National Instruments Corporation 12-5 LabVIEW Data Acquisition Basics Manual
To gain more control over your analog output application, use the
Intermediate VIs shown in Figure 12-5. With these VIs, you can set up an
alternate update clock source and you can monitor the update rate the VI
actually uses. The AO Config VI sets up the channels you specify for
analog output. The AO Write VI places the data in a buffer. The AO Start
VI begins the actual generation at the
update rate
. The AO Write VI in the
while loop writes new data to the buffer until you press the stop button.
Then, the AO Clear VI unconfigures the analog channels.
Figure 12-5.
Circular Buffered Waveform Generation Using Intermediate VIs
The Function Generator VI, located in
labview\examples\daq\
anlogout\anlogout.llb
, is a more advanced example than the one
shown in Figure 12-5. This VI changes the output waveform on-the-fly,
responding to changing signal types (sine or square), amplitude, offset,
update rate, and phase settings on the front panel.










