Skip to main content

window-count

Syntax

- window-count: number

Description

The window-count operation watches the input for any triggering events, and maintains a count of all the events seen within a preceding window size, specified in seconds.

The internal value of the window-count will fluctuate up and down as events pass into and out of the window being watched. Each time the internal counter changes, the count will be output.

Examples

  var1:
- source: AIN0
- threshold: 2.5
- falling-edge
- window-count: 1
info

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