AO2K_GetPowerOnRaw

 

This function code is used to get the power on raw data for a specific channel.

 

C/C++

int AO2K_GetPowerOnRaw( int hConnection,

BYTE bytChannel,

WORD * wValue);

 

Visual Basic

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

 

Arguments:

hConnection

The handle for an I/O device connection.

bytChannel

The specific channel to be read.

wValue

A pointer that stores the specific A/O channel's power on raw data to be get.

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.