Skip to main content

average

Syntax

- average:
count: number
  • count: The number of samples in the sample window

Description

For each incoming sample, outputs the average of the last count samples seen. Output begins from the very first sample — before the window is full, the average is computed over however many samples have arrived so far.

Examples

  var1:
- source: AIN0
- average:
count: 100
info

In the above example, AIN0 is an identifier available in LabJack data sources.