DataStatMovingAverage.getAverage Method

Module: DataStatMovingAverage

Definition

Retrieves the current moving average, reflecting the average value of the specified number of most recent data points.

int id3DevicesDataStatMovingAverage_GetAverage (
    ID3_DEVICES_DATA_STAT_MOVING_AVERAGE hDataStatMovingAverage,
    int * result)

Parameters

in Handle to the DataStatMovingAverage object.

result int *
out The current calculated moving average of the data, provided as an output parameter.

Returns

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