Pulse2K_SetOutputCount

 

This function code is used to set the output count for a specific pulse channel.

 

C/C++

int Pulse2K_SetOutputCount( int hConnection,

BYTE bytChannel,

DWORD dwOutputCount);

 

Visual Basic

Declare Function Pulse2K_SetOutputCount Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, ByVal dwOutputCount As Long) As Long

 

Arguments:

hConnection

The handle for an I/O device connection.

bytChannel

The specific channel to be set.

dwOutputCounts

A pointer that stores the specific pulse channel's output count.

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.