Average(Variable, Variable) Function |
Top |
DescriptionCalculates the moving window average of a value using the specified number of data points.
Timing Precision Mode This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.
Note: This method has a state. See the Methods and Properties with State page for more information.
Function Signature
Arguments
Return Value
The average calculated from the specified number of data points. If the number of data points is less than or equal to the specified number of of data points to average, then an ordinary "simple" average of the data is performed. Otherwise, a "moving" or "sliding" average is performed.
Syntax
See also
|