int MSXE371x__CalibrationStart ( xsd__unsignedLong  ulTransducerIndex,
xsd__double  dPosition,
xsd__unsignedLong  ulCalibrationMode,
xsd__unsignedLong  ulInvertValue,
xsd__unsignedLong  ulChannel,
struct MSXE371x__Response Response 
)
Parameters:
[in] ulTransducerIndex : Selected transducer to calibrate
[in] dPosition : Selected user calibration position
[in] ulCalibrationMode : Select the calibration mode

  • 0: Calibre the primary and all channels. ulChannel not used
  • 1: Calibre only the selected channel (ulChannel).
  • 2: Calibre the primary and all channels. ulChannel not used and reset the calibration bit
  • 3: Calibre only the selected channel (ulChannel) and reset the calibration bit If not other channel calibrate then calibrate the primary and 0mm position
[in] ulInvertValue :

  • 0 : don't invert the channel value
  • 1 : invert the channel value (-2 mm -> + 2mm)
[in] ulChannel : Selected calibration channel
[out] Response :
iReturnValue : Error code :

  • 0: means the remote function performed OK
  • -1: means an system error occured
  • -2: Any calibration already started
  • -3: Selected transducer not available
  • -4: Calibration mode selection error
  • -5: Invert value selection mode not available
  • -6: Transducer channel 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