GetSamplingIntervalRange

Gets the maximum sampling interval, minimum sampling interval, and step sampling interval for the performance monitoring.

Syntax

Copied!

ADLX_RESULT     GetSamplingIntervalRange (ADLX_IntRange * range)

Parameters

  1. [out] range ADLX_IntRange * The pointer to a variable where the sampling interval range (in millisecond) is returned.

Return Value

If the sampling interval range is successfully returned, ADLX_OK is returned.

If the sampling interval range is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The maximum sampling interval, minimum sampling interval, and step sampling interval are read only.

Requirements

Header

include “IPerformanceMonitoring.h”

Minimum version

1.0