invert
Syntax
- invert
Description
The invert operation does not take any arguments. It inverts the output of the previous operation such that true becomes false, and false becomes true.
If the previous operation produces an analog value, then a value of 0 will become true, and any other value will become false.
Examples
- AdapterScript
var1:
- source: AIN0
- threshold: 4
- invert
info
In the above example, AIN0
is an identifier available in LabJack data sources.