int MSXExxxx__PressureSetSamplingRate ( xsd__unsignedLong  ulChannelGroup,
xsd__unsignedLong  ulBaseSamplingRate,
xsd__unsignedLong  ulOption1,
struct MSXExxxx__Response Response 
)
Parameters:
[in] ulChannelGroup : Channel group selection.

  • 0 for channels 0 and 1
  • 1 for channels 2 and 3
  • 2 for channels 4 and 5
  • 3 for channels 6 and 7
  • 4 for channels 8 and 9
  • 5 for channels 10 and 11
  • 6 for channels 12 and 13
  • 7 for channels 14 and 15
  • ...
  • 255 for all channels
[in] ulBaseSamplingRate : Sampling rate selection

  • 5 for 5Hz
  • 10 for 10Hz
  • 20 for 20Hz
  • 40 for 40Hz
  • 80 for 80Hz
  • 160 for 160Hz
  • 320 for 320Hz
  • 640 for 640Hz
  • 1000 for 1000Hz
  • 2000 for 2000Hz

If only one channel is used then the real sampling rate is ulBaseSamplingRate / 2
If all 2 channels are used then the real sampling rate is ulBaseSamplingRate / 3


[in] ulOption1 : Reserved. Set to 0
[out] Response :
iReturnValue :

  • 0 : Means the remote function performed OK
  • -1 : Means an system error occured
  • -2 : Channel group selection error
  • -3 : Sampling rate selection error
  • -4 : Acquisition in progress. Can not change the sampling rate
  • -100 : IOCTL system call error

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

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