AI2K_GetChannelStatus
This function code is used to get the AI channel status of ioLogik 2000 Module.
C/C++
int AI2K_GetChannelStatus ( int hConnection,
BYTE bytChannel,
WORD * wValue);
Visual Basic
Declare Function AI2K_GetChannelStatus Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, iValue As Integer) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytChannel |
The specific channel to be get. |
wValue |
represents the value of the starting channel. 0: disabled, 1: enabled |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |