value-increase
Syntax
- value-increase
Description
The value-increase operation does not take any parameters. It watches an analog input and emits an event
pulse each time the value increases. The pulse is a true value followed immediately by false at the same
timestamp; false is the steady-state output when no increase is detected.
One application of value-increase is to detect a counter input incrementing while ignoring a reset to a lower value.
Examples
- AdapterScript
var1:
- source: AIN0
- min-delta: 1
- value-increase
info
In the above example, AIN0 is an identifier available in LabJack data sources.