Chapter 10 Easy I/O for DAQ Library
© National Instruments Corporation 10-15 LabWindows/CVI Standard Libraries
AICheckAcquisition
short error = AICheckAcquisition (unsigned long taskID,
unsigned long *scanBacklog);
Purpose
This function can be used to determine the backlog of scans that have been acquired into the
circular buffer but have not been read using AIReadAcquisition.
If AIReadAcquisition is called with read mode set to LATEST_MODE, scanBacklog is
reset to zero.
Parameters
Input taskID unsigned
long integer The task ID that was returned from
AIStartAcquisition.
Output scanBacklog unsigned
long integer Returns the backlog of scans that have been acquired
into the circular buffer but have not been read using
AIReadAcquisition.
Return Value
error short integer Refer to error codes in Table 10-5.
AIClearAcquisition
short error = AIClearAcquisition (unsigned long taskID);
Purpose
This function clears the current asynchronous acquisition that was started by
AIStartAcquisition.
Parameters
Input taskID unsigned
long integer The task ID that was returned from
AIStartAcquisition.
Return Value
error short integer Refer to error codes in Table 10-5.