RLY2K_CurrentCntRead
This function code is used to get count value of contiguous D/O channel.
C/C++
int RLY2K_CurrentCntRead ( int hConnection,
BYTE bytChannel,
DWORD dwValue[]);
Visual Basic
Declare Function RLY2K_CurrentCntRead Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, nValue As long) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytChannel |
The specific channel to be get |
dwValue |
A pointer that stores the count value of contiguous D/O channel |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |