
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-37
Pulse2K_SetStartStatuses
This function code is used to set the start statuses of contiguous
pulse channels.
C/C++
Arguments
Return Value
int Pulse2K_SetStartStatuses ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
DWORD dwStatus);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
dwStatus: Stores the start statuses of the contiguous pulse
channels; each bit holds the value of one
channel. A bit value of 0 represents the start
status of the start channel. A bit value of 1
represents the status of the second pulse
channel. The values are :
0: stop
1: start
Succeed MXIO_OK.
Fail Refer to Return Codes.
Pulse2K_GetStartStatus
This function code is used to get the start status for a specific pulse
channel.
C/C++
Arguments
Return Value
int Pulse2K_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.
Comentarios a estos manuales