cbCClear()

Clears a scan counter value (sets it to zero). This function only works with counter boards that have counter scan capability.

Function Prototype

C/C++

int cbCClear(int BoardNum, int CounterNum)

Visual Basic

Function cbCClear(ByVal BoardNum&, ByVal CounterNum&) As Long

Arguments

BoardNum

The number associated with the board when it was installed with InstaCal or created with cbCreateDaqDevice(). BoardNum may be 0 to 99. The specified board must have a counter.

CounterNum

The counter to clear. Note: This argument is zero-based (the first counter number to clear is "0").

Returns