Module2K_GetInternalReg
This function code is used to get the internal register of ioLogik 2000 Module.
C/C++
int Module2K_GetInternalReg(int hConnection,
BYTE bytChannel,
WORD * wValue);
Visual Basic
Declare Function Module2K_GetInternalReg Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, iValue As Integer) As Long
Arguments:
hConnection |
The handle for a connection. |
bytChannel |
The specific channel to be read. |
wValue |
represents the value of the starting channel. The values are 0 ~ 255 |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |