
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-74
RTD2K_SetStartStatus
This function code is used to set specific channel's start status.
C/C++
Arguments
Return Value
int RTD2K_SetStartStatus ( int hConnection,
BYTE bytChannel,
BYTE bytStatus);
hConnection: The handle for an I/O device connection.
bytChannel: The specific channel to be set.
bytStatus: A pointer that stores the specific RTD
channel's start status. The values are :
0 : stop
1 : start
Succeed MXIO_OK.
Fail Refer to Return Codes.
RTD2K_GetStartStatuses
This function code is used to get contiguous channel's start status.
C/C++
Arguments
Return Value
int RTD2K_GetStartStatuses ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
DWORD * dwStatus);
hConnection: The handle for an I/O device connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to be get.
dwStatus: A pointer that stores the contiguous RTD
channel's start status; each bit holds one
channel status. A bit value of 0 represents
the status of the start channel. A bit value of
1 represents the second channel's status. The
values are :
0 : stop
1 : start
Succeed MXIO_OK.
Fail Refer
oRe
u
n Codes.
Komentarze do niniejszej Instrukcji