max
Syntax
- max:
count: number
- count: The number of samples in the sample window
Description
For each incoming sample, outputs the largest of the previous count
samples seen.
A max operation can filter out short drops in an input and will delay recognizing decreases in incoming samples. The digital counterpart to max is the off-delay operation.
Examples
- AdapterScript
var1:
- source: AIN0
- max:
count: 100
info
In the above example, AIN0
is an identifier available in LabJack data sources.