Pulse2K_SetSignalWidth32
This function code is used to set the Hi/Lo signal width(32 bits) for a specific pulse channel.
The function code is special designed for ioLogik E2260 only.
C/C++
int Pulse2K_SetSignalWidth32( int hConnection,
BYTE bytChannel,
DWORD dwHiWidth,
DWORD dwLoWidth);
Visual Basic
Declare Function Pulse2K_SetSignalWidth32 Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, ByVal iHiWidth As Long, ByVal iLoWidth As Long) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytChannel |
The specific channel to be set. |
dwHiWidth |
Store the specific pulse channel's Hi signal width to be set. |
dwLoWidth |
Store the specific pulse channel's Lo signal width to be set. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |