RLY2K_ResetCnts
This function code is used to reset count value of contiguous D/O channels.
C/C++
int RLY2K_ResetCnts ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount);
Visual Basic
Declare Function RLY2K_ResetCnts 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 connection. |
bytStartChannel |
Specifies the starting channel. |
bytCount |
The number of channels to be reset. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |