AO2K_SetPowerOnRaw

 

This function code is used to set the output raw data for a specific channel.

 

C/C++

int AO2K_SetPowerOnRaw( int hConnection,

BYTE bytChannel,

WORD wValue);

 

Visual Basic

Declare Function AO2K_SetPowerOnRaw Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, ByVal iValue As Integer) As Long

 

Arguments:

hConnection

The handle for an I/O device connection.

bytChannel

The specific channel to be set.

wValue

Stores the specific A/O channel's power on raw data to be set.

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.