Pulse2K_SetStartStatus

 

This function code is used to set the start status for a specific pulse channel.

 

C/C++

int Pulse2K_SetStartStatus( int hConnection,

BYTE bytChannel,

BYTE bytStatus);

 

Visual Basic

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

 

Arguments:

hConnection

The handle for an I/O device connection.

bytChannel

The specific channel to be set.

bytStatus

A pointer that stores the specific pulse channel's start status. The values are:

0: stop

1: start

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.