int MSXExxxx__AnalogInputGetConfiguration ( xsd__unsignedLong  ulChannel,
xsd__unsignedLong  ulOption1,
struct MSXExxxx__AnalogInputGetConfigurationResponse Response 
)
Parameters:
[in] ulChannel : Channel selection (0 to 7)
[in] ulOption1 : Reserved. Set to 0
[out] Response :
sResponse.iReturnValue :

  • 0: Means the remote function performed OK
  • -1: Means an system error occured

sResponse.syserrno : system-error code (the value of the libc "errno" code)
ulType : Analog input type

  • 0: Voltage
  • 1: Current

ulICPAvailable : ICP available?

  • 0: ICP source not available
  • 1: ICP source available

ulAcDc : AC/DC coupling selection

  • 0 : DC
  • 1 : AC

ulSingleDiff : Single/differential selection

  • 0 : Single
  • 1 : Differential

ulPolarity : Polarity selection

  • 0 : Bipolar
  • 1 : Unipolar

ulGain : Gain selection

  • 1 : Gain 1x
  • 10 : Gain 10x
  • 100 : Gain 100x
  • 1000 : Gain 1000x

ulICP : ICP source

  • 0 : ICP source disabled
  • 1 : ICP source enabled

ulTimeBase : Sampling rate time base selection

  • 0 for 1MHz
  • 1 for 6.4MHz

ulTimeBaseUnity : Sampling rate time base unity

  • 0 for µs
  • 5 for Hz

ulSamplingRate : Sampling rate (or sampling period is ulTimeBaseUnity is 0)

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