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