Pulse2K_GetSignalWidth
This function code is used to get the Hi/Lo signal width for a specific pulse channel.
C/C++
int Pulse2K_GetSignalWidth( int hConnection,
BYTE bytChannel,
WORD * wHiWidth,
WORD * wLoWidth);
Visual Basic
Declare Function Pulse2K_GetSignalWidth Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, iHiWidth As Integer, iLoWidth As Integer) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytChannel |
The specific channel to be get. |
wHiWidth |
A pointer that stores the specific pulse channel's Hi signal width to be get. |
wLoWidth |
A pointer that stores the specific pulse channel's Lo signal width to be get. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |