int MSXE371x__ExternalTemperatureGainCalibration ( unsigned long  ulGainSelection,
double  dRefValue,
struct MSXE371x__Response Response 
)
Parameters:
[in] ulGainSelection : Selected gain (1, 2, 4, 8, 16, 32, 64 or 128)
[in] dRefValue : Ref voltage value the the calibration
[out] Response :
iReturnValue :

  • 0 : success
  • -1 : means an system error occurred
  • -2 : Gain selection error
  • -3 : Frequency selection error
  • -4 : Ref value to high for the selected gain
  • -5 : Calibration file access error
  • -100 : IOCTL system call error

syserrno : system-error code (the value of the libc "errno" code)

Returns:
  • 0: SOAP_OK
  • <> 0: See SOAP error