E1K_Pulse_SetSignalWidths
This function code is used to set the contiguous pulse channel's Hi/Lo signal width(32 bits).
C/C++
int E1K_Pulse_SetSignalWidths( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wHiWidth[ ],
WORD wLoWidth[ ]);
Visual Basic
Declare Function E1K_Pulse_SetSignalWidths Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytStartChannel As Byte, ByVal bytCount As Byte, iHiWidth As Integer, iLoWidth As Integer) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytStartChannel |
Specifies the starting channel. |
bytCount |
The number of channels to be set. |
wHiWidth |
An array that stores the contiguous pulse channel's Hi signal width, wHiWidth[0] represents the Hi signal width of the starting channel. |
wLoWidth |
An array that stores the contiguous pulse channel's Lo signal width, wLoWidth[0] represents the Lo signal width of the starting channel. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |