DataStatMovingAverage.setDataStatSize Method

Module: DataStatMovingAverage

Definition

Specifies the number of data points to consider in the moving average calculation, determining the ‘window’ size of the average.

int id3DevicesDataStatMovingAverage_SetDataStatSize (
    ID3_DEVICES_DATA_STAT_MOVING_AVERAGE hDataStatMovingAverage,
    int dataStatSize)

Parameters

in Handle to the DataStatMovingAverage object.

dataStatSize int
in The number of data points to include in the moving average calculation, impacting the smoothness and responsiveness of the average.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.