Pulse2K_GetSignalWidth32

 

This function code is used to get 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_GetSignalWidth32( int hConnection,

BYTE bytChannel,

DWORD * dwHiWidth,

DWORD * dwLoWidth);

 

Visual Basic

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

 

Arguments:

hConnection

The handle for an I/O device connection.

bytChannel

The specific channel to be get.

dwHiWidth

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

dwLoWidth

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.