RTD2K_GetChannelStatus
This function code is used to get specific channel's status.
C/C++
int RTD2K_GetChannelStatus( int hConnection,
BYTE bytChannel,
BYTE * bytStatus);
Visual Basic
Declare Function RTD2K_GetChannelStatus Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, bytStatus As Byte) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytChannel |
The specific channel to be get. |
bytStatus |
A pointer that stores the specific RTD channel's status. The values are : 0: stop 1: start |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |