Pulse2K_GetOutputCount

 

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

 

C/C++

int Pulse2K_GetOutputCount( int hConnection,

BYTE bytChannel,

DWORD * dwOutputCount);

 

Visual Basic

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

 

Arguments:

hConnection

The handle for an I/O device connection.

bytChannel

The specific channel to be get.

dwOutputCounts

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

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.