cbCIn()

Reads the current count from a counter channel.

Function Prototype

C/C++

int cbCIn(int BoardNum, int CounterNum, unsigned short *Count)

Visual Basic

Function cbCIn(ByVal BoardNum&, ByVal CounterNum&, CBCount&) 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 read the current count from. Valid values are in the range of 0 to 20, depending on the device and the number of counters available on the device. See product-specific information in the Universal Library User's Guide.

Count

Counter value is returned here. Refer to the Notes section below.

Returns

Notes