User manual
Chapter 3 Software Overview
NI-DAQ User Manual for PC Compatibles 3-48 ni.com
The final step is to call
WFM_Group_Control
(operation=
CLEAR
).
The
CLEAR
operation performs all of the necessary cleanup work after
a waveform generation. Additionally,
CLEAR
halts any ongoing
waveform generation.
Figure 3-17. Double-Buffered Waveform Generation
Enable double buffering.
Assign channels to waveform generation group.
Load waveform buffer and specify iterations.
Set the update rate.
Start background waveform generation.
Check if the next half buffer is ready for data.
Transfer the next half of the data to
the waveform data buffer.
Do you want to transfer
more data to the waveform buffer?
Clear the waveform.
WFM_DB_Config
WFM_Group_Setup
WFM_Load
WFM_Group_Control
(operation =START)
WFM_DB_HalfReady
WFM_DB_Transfer
Transfer?
WFM_Check
WFM_Group_Control
(operation = CLEAR)
No
No
Yes
Yes
Yes
No
Any more data to output?
WFM_ClockRate or
WFM_Set_Clock










