Pulse2K_SetSignalWidth

 

This function code is used to set the Hi/Lo signal width for a specific pulse channel.

 

C/C++

int Pulse2K_SetSignalWidth( int hConnection,

BYTE bytChannel,

WORD wHiWidth,

WORD wLoWidth);

 

Visual Basic

Declare Function Pulse2K_SetSignalWidth Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, ByVal iHiWidth As Integer, ByVal iLoWidth As Integer) As Long

 

Arguments:

hConnection

The handle for an I/O device connection.

bytChannel

The specific channel to be set.

wHiWidth

A pointer that stores the specific pulse channel's Hi signal width to be set.

wLoWidth

A pointer that stores the specific pulse channel's Lo signal width to be set.

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.