AO2K_GetPowerOnValue
This function code is used to get the power on value for a specific channel.
C/C++
int AO2K_GetPowerOnValue( int hConnection,
BYTE bytChannel,
double * dValue);
Visual Basic
Declare Function AO2K_GetPowerOnValue Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, dValue As Double) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytChannel |
The specific channel to be get. |
dValue |
A pointer that stores the specific A/O channel's power on value to be get. The unit is Vdc for the voltage channel and mA for the current channel. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |