int MSXE302x__CalibrationStart ( xsd__unsignedLong  ulCalibrationMode,
xsd__unsignedLong  ulGain,
xsd__double  dCalibrationValue,
struct MSXE302x__Response Response 
)
Parameters:
[in] ulCalibrationMode : Calibration mode selection:

  • 0 Hex : All channels calibration via a external calibration source (voltage/current). Not available for mixing input types.
  • 1 Hex : All channels calibration via the internal voltage calibration source. Not available for current or mixing input types.
  • 2 Hex : Channel group 0 (Channel 0 to 3) calibration via a external calibration source (voltage/current).
  • 102 Hex : Channel group 1 (Channel 4 to 7) calibration via a external calibration source (voltage/current).
  • 202 Hex : Channel group 2 (Channel 8 to 11) calibration via a external calibration source (voltage/current).
  • 302 Hex : Channel group 3 (Channel 12 to 15) calibration via a external calibration source (voltage/current).
  • 3 Hex : Channel group 0 (Channel 0 to 3) calibration via the internal voltage calibration source. Not available for current inputs.
  • 103 Hex : Channel group 1 (Channel 4 to 7) calibration via the internal voltage calibration source. Not available for current inputs.
  • 203 Hex : Channel group 2 (Channel 8 to 11) calibration via the internal voltage calibration source. Not available for current inputs.
  • 303 Hex : Channel group 3 (Channel 12 to 15) calibration via the internal voltage calibration source. Not available for current inputs.
[in] ulGain : Gain selection 1 or 2
[in] dCalibrationValue : Calibration value
[out] Response :
iReturnValue : Error value :

  • 0: means the remote function performed OK
  • -1: means an system error occured
  • -2: Calibration mode selection error
  • -3: Calibration gain selection error
  • -4: Calibration value selection error
  • -100: Start calibration kernel function error

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

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