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
hDataStatMovingAverage
ID3_DEVICES_DATA_STAT_MOVING_AVERAGEin Handle to the DataStatMovingAverage object.result
int *out The current calculated moving average of the data, provided as an output parameter.
Returns