
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-35
Pulse2K_SetOutputCounts
This function code is used to set the output counts for contiguous
pulse output channels.
C/C++
Arguments
Return Value
int Pulse2K_SetOutputCounts ( int
hConnection,
BYTE bytStartChannel,
BYTE bytCount,
DWORD dwOutputCounts[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
dwOutputCounts: An array that stores the output counts of
the contiguous pulse output chanels;
dwOutputCounts[0] represents the pulse
output count of the starting channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Pulse2K_GetOutputCount
This function code is used to get the output count for a specific
pulse channel.
C/C++
Arguments
Return Value
int Pulse2K_GetOutputCount ( int hConnection,
BYTE
bytChannel,
DWORD * dwOutputCount);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
dwOutputCount: A pointer to the output count for the
desired channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Pulse2K_SetOutputCount
This function code is used to set the output count for a specific
pulse channel.
C/C++
Arguments
Return Value
int Pulse2K_SetOutputCount ( int hConnection,
BYTE bytChannel,
DWORD dwOutputCount);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
dwOutputCount: A pointer to the output count for the
desired channel.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
Kommentare zu diesen Handbüchern