Module2K_SetInternalReg
This function code is used to set the internal register of ioLogik 2000 Module.
C/C++
int Module2K_SetInternalReg ( int hConnection,
BYTE bytChannel,
WORD wValue);
Visual Basic
Declare Function Module2K_SetInternalReg Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, ByVal 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. |