Cnt2K_Clears
This function code is used to clear contiguous channel's count value when D/I channel in 'Count' mode.
C/C++
int Cnt2K_Clears( int hConnection,
BYTE bytStartChannel,
BYTE bytCount);
Visual Basic
Declare Function Cnt2K_Clears Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytStartChannel As Byte, ByVal bytCount As Byte) As Long
Arguments:
hConnection |
The handle for an I/O device's connection. |
bytStartChannel |
Specifies the starting channel. |
bytCount |
The number of channels to be clear. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |