Chapter 10 Easy I/O for DAQ Library
© National Instruments Corporation 10-33 LabWindows/CVI Standard Libraries
Parameters
Input taskID unsigned long
integer The reference number assigned to the counting
operation by one of the counter configuration
functions.
Output overflow short integer 1 = counter rolled past terminal count; 0 = counter
did not roll past terminal count.
count long integer The value of the counter at the time it is read.
Return Value
error short integer Refer to error codes in Table 10-5.
Parameter Discussion
overflow indicates whether the counter rolled over past its terminal count. If overflow is 1, the
value of count is inaccurate.
CounterStart
short error = CounterStart (unsigned long taskID);
Purpose
Starts the counter identified by taskID.
Parameters
Input taskID unsigned
long integer The reference number assigned to the counting
operation by one of the counter configuration
functions.
Return Value
error short integer Refer to error codes in Table 10-5.