int MSXE371x__DataBaseAddTransducer ( xsd__unsignedLong  ulTransducerIndex,
xsd__string  cName,
xsd__unsignedLong  ulType,
xsd__unsignedLong  ulFrequency,
xsd__unsignedLong  ulImpedance,
xsd__double  dVeff,
xsd__double  dSensitivity,
xsd__double  dRange,
struct MSXE371x__Response Response 
)
Parameters:
[in] ulTransducerIndex : Identifier of the new type, user-defined value in the range 200 .. 255
[in] cName : Name
[in] ulType : Type (0: HB 1: LVDT 2:Knaebel 3:HB-Mahr 4:LVDT-Mahr)
[in] ulFrequency : Nominal frequency (Hz)
[in] ulImpedance : Impedance (Ohm)
[in] dVeff : Nominal voltage (Vrms)
[in] dSensitivity : Sensitivity (mV/V/mm)
[in] dRange : Range (mm)
[out] Response :
iReturnValue : Error code :

  • 0: success
  • <> 0 : error
  • -100: kernel function error
    syserrno : system-error code (the value of the libc "errno" code) Its value is significant only when the iReturnValue returned an error (-1 or <= -100)
    Give this value to the MXCommon_Strerror to get the string describing the error number.
Returns:
  • 0: SOAP_OK
  • <> 0: See SOAP error
Note:
This function returns an error if a transducer with the same identifier already exists in the database.