AI2K_ReadMin
This function code is used to read the analog input minimize value for a specific channel.
C/C++
int AI2K_ReadMin( int hConnection,
BYTE bytChannel,
double * dValue);
Visual Basic
Declare Function AI2K_ReadMin 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 read. |
dValue |
A pointer that stores the specific channel's analog input minimize value to be read. The unit is Vdc for the voltage module, and mA for the current module. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |