Ace Dynamic Comp Index  June 2020
Niagara-4.9
control::TimeAverage Class Reference

Public Member Functions

Actions
void doReset ()
 

Detailed Description

TimeAverage object averages "in" over the configured time.

Note that this is NOT a running or moving average - this object caches the average over the previous time as the out value, and updates out every "time" ms.

Until the first full cycle has elapsed, out is set to average of all samples so far.

The average may be reset/restarted at any time using the "reset" action.

Properties


status_double out

Facets: @readonly @summary

status_double in

Facets: @input @summary

int time

Default: 10000
Facets: @config @summary @unit = "millisecond"