RTD2K_ReadMax
This function code is used to read the RTD input maximize value for a specific channel.
C/C++
int RTD2K_ReadMax( int hConnection,
BYTE bytChannel,
double *dValue);
Visual Basic
Declare Function RTD2K_ReadMax 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 RTD input maximize value to be read. The unit is Ω for the Ohm, ℃ for Celsius and ℉ for Fahrenheit.
|
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |