User's Manual
Chapter 2 Function Reference — WFM_Check
NI-DAQ FRM for PC Compatibles 2-404
©
 National Instruments Corporation
WFM_Check
Format
status = WFM_Check (deviceNumber, chan, wfmStopped, itersDone, pointsDone)
Purpose
Returns status information concerning a waveform generation operation.
Parameters
Input 
Output 
Parameter Discussion
chan is the number of the analog output channel performing the waveform generation 
operation.
Range: 0 or 1 for most devices.
0 through 5 for AT-AO-6.
0 through 9 for AT-AO-10.
wfmStopped is a flag whose value indicates whether the waveform generation operation is 
still in progress. If the number of iterations indicated in the last 
WFM_Load call is 0, the status 
is always 0.
0: Ongoing operation.
1: Complete operation.
itersDone returns the number of buffer iterations that have been completed.
Name Type Description
deviceNumber i16 assigned by configuration utility
chan i16 number of the analog output channel
Name Type Description
wfmStopped i16 whether the waveform is still in progress
itersDone u32 number of buffer iterations completed
pointsDone u32 number of points written for the current buffer 
iteration










