int MSXExxxx__AnalogInputSetChannelConfiguration ( xsd__unsignedLong  ulChannel,
xsd__unsignedLong  ulAcDc,
xsd__unsignedLong  ulSingleDiff,
xsd__unsignedLong  ulPolarity,
xsd__unsignedLong  ulGain,
xsd__unsignedLong  ulICP,
xsd__unsignedLong  ulOption1,
xsd__unsignedLong  ulOption2,
struct MSXExxxx__Response Response 
)
Parameters:
[in] ulChannel : Channel selection (0 to 7 or 255 for all channels)
[in] ulAcDc : AC/DC coupling selection

  • 0 : DC
  • 1 : AC
[in] ulSingleDiff : Single/differential selection

  • 0 : Single
  • 1 : Differential
[in] ulPolarity : Polarity selection

  • 0 : Bipolar
  • 1 : Unipolar
[in] ulGain : Gain selection

  • 1 : Gain 1x
  • 10 : Gain 10x
  • 100 : Gain 100x
  • 1000 : Gain 1000x
[in] ulICP : ICP source

  • 0 : Disable the ICP source
  • 1 : Enable the ICP source
[in] ulOption1 : Reserved. Set to 0
[in] ulOption2 : Reserved. Set to 0
[out] Response :
iReturnValue :

  • 0: Means the remote function performed OK
  • -1: Means an system error occured
  • -2: Channel selection wrong
  • -3: AC/DC coupling selection wrong
  • -4: Single/differential selection wrong
  • -5: Polarity selection wrong
  • -6: Gain selection wrong
  • -7: ICP selection wrong
  • -8: ICP not available
  • -9: Acquisition in progress. Can not change the configuration
Returns:
  • 0: SOAP_OK
  • <> 0: See SOAP error