RTD2K_SetChnDev
This function is used to set data structure varibles for subtracting data of two channels.
C/C++
int RTD2K_SetChnDev ( int hConnection,
BYTE bytChannel,
BYTE bytChMinued,
BYTE bytChSub);
Visual Basic
Declare Function RTD2K_SetChnDev Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, ByVal bytChMinued As Byte, ByVal bytChSub As Byte) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytChannel |
The specific virtual channel to be set. |
bytChMinued |
This varible is the channel that defined as a subtrahend. |
BytChSub |
This varible is the channel that defined as a minuend. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |