
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-30
Pulse2K_SetSignalWidths
This function code is used to set the Hi/Lo signal widths of
contiguous pulse output channels.
C/C++
Arguments
Return Value
int Pulse2K_SetSignalWidths ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wHiWidth[ ],
WORD wLoWidth[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
wHiWidth: An array that stores the Hi signal widths
of the contiguous pulse output channels;
wHiWidth[0] represents the Hi signal
width of the starting channel.
wLoWidth: An array that stores the Lo signal widths
of the contiguous pulse output channels;
wLoWidth[0] represents the Lo signal
width of the starting channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Pulse2K_GetSignalWidth
This function code is used to get the Hi/Lo signal width for a
specific pulse channel.
C/C++
Arguments
Return Value
int Pulse2K_GetSignalWidth ( int hConnection,
BYTE bytChannel,
WORD *wHiWidth,
WORD *wLoWidth);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wHiWidth: A pointer to the Hi signal width of the
desired channel.
wLoWidth: A pointer to the Lo signal width of the
desired channel.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
Comentarios a estos manuales