
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-11
Cnt2K_GetStartStatus
This function code is used to get the start status of a specific D/I
channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_GetStartStatus ( int hConnection,
BYTE bytChannel,
BYTE * bytStatus);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytStatus: A pointer to the start status of the desired
channel. The values are :
0 : stop
1 : start
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
Cnt2K_SetStartStatus
This function code is used to set the start status of a specific D/I
channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_SetStartStatus ( int hConnection,
BYTE bytChannel,
BYTE bytStatus);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytStatus: A pointer to the start status of the desired
channel. The values are :
0: stop
1: start
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
Kommentare zu diesen Handbüchern