National Instruments 321645c-01 Welding System User Manual


 
Chapter 2 Function Reference Lab_ISCAN_Check
©
National Instruments Corporation 2-263 NI-DAQ FRM for PC Compatibles
Lab_ISCAN_Check
Format
status = Lab_ISCAN_Check (deviceNumber, daqStopped, retrieved, finalScanOrder)
Purpose
Checks whether the current multiple-channel scanned data acquisition begun by the
Lab_ISCAN_Start function is complete and returns the status, the number of samples
acquired to that point, and the scanning order of the channels in the data array
(DAQCard-500/700 and 516, Lab and 1200 Series, and LPM devices only).
Parameters
Input
Output
Parameter Discussion
daqStopped returns an indication of whether the data acquisition has completed.
1: The data acquisition operation has stopped. Either NI-DAQ has acquired all
the samples or an error has occurred.
0: The data acquisition operation is not yet complete.
retrieved indicates the progress of an acquisition. The meaning of retrieved depends on
whether you have enabled pretrigger mode (see
DAQ_StopTrigger_Config).
If pretrigger mode is disabled, retrieved returns the number of samples collected by the
acquisition at the time of the call to
Lab_ISCAN_Check. The value of retrieved increases
until it equals the total number of samples to be acquired, at which time the acquisition
terminates.
Name Type Description
deviceNumber i16 assigned by configuration utility
Name Type Description
daqStopped i16 indicates whether the data acquisition has
completed
retrieved u32 number of samples collected by the acquisition
finalScanOrder [i16] the scan channel order