int MSXExxxx__AnalogInputGetSamplingRate ( xsd__unsignedLong  ulOption1,
xsd__unsignedLong  ulOption2,
struct MSXExxxx__AnalogInputGetSamplingRateResponse Response 
)

Reads the current sampling rate configuration.

Parameters:
[in] ulOption1 Reserved. Set to 0
[in] ulOption2 Reserved. Set to 0
[out] Response Response of the system

  • sResponse.iReturnValue
    • 0: The remote function performed OK
    • -1: System error occurred
    • -100: Internal system error occurred. See value of syserrno
  • sResponse.syserrno system error code (the value of the libc "errno" code)
  • ulClk Base clock used to define the sampling rate. 0: 1MHz, 1: 6.4MHz
  • ulDivisionFactor The division factor (used with the ulClk) that defines the sampling rate. The sampling rate is always a multiple of the selected clock.
Return values:
0 SOAP_OK
Others See SOAP error