value-decrease
Syntax
- value-decrease
Description
The value-decrease operation does not take any parameters. It watches an analog input and emits an event pulse each time the value decreases.
One application of value-decrease is to detect a counter input resetting to a lower value.
Examples
- AdapterScript
var1:
- source: AIN0
- min-delta: 1
- value-decrease
info
In the above example, AIN0
is an identifier available in LabJack data sources.