National Instruments 321645c-01 Welding System User Manual


 
Chapter 2 Function Reference DAQ_Clear
©
National Instruments Corporation 2-117 NI-DAQ FRM for PC Compatibles
DAQ_Clear
Format
status = DAQ_Clear (deviceNumber)
Purpose
Cancels the current DAQ operation (both single-channel and multiple-channel scanned) and
reinitializes the DAQ circuitry.
Parameters
Input
Using This Function
DAQ_Clear turns off any current DAQ operation (both single-channel and multiple-channel),
cancels the background process that is handling the data acquisition, and clears any error flags
set as a result of the data acquisition. NI-DAQ then reinitializes the DAQ circuitry so that
NI-DAQ can start another data acquisition.
Note
If your application calls DAQ_Start, SCAN_Start, or Lab_ISCAN_Start,
always make sure that you call
DAQ_Clear before your application terminates and
returns control to the operating system. Unpredictable behavior can result unless
you make this call (either directly, or indirectly through
DAQ_Check,
Lab_ISCAN_Check, or DAQ_DB_Transfer).
Name Type Description
deviceNumber i16 assigned by configuration utility