DO2K_GetPowerOnValue

 

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

 

C/C++

int DO2K_GetPowerOnValue( int hConnection,

BYTE bytChannel,

BYTE * bytValue);

 

Visual Basic

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

 

Arguments:

hConnection

The handle for an I/O device connection.

bytChannel

The specific channel to be get.

bytValue

A pointer that sotres the power on value of specific D/O channel.

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.