debounce
Syntax
- debounce: number
Description
The debounce operation filters out brief changes in a digital input that last less the specified window size (in seconds). Debouncing will help lock a signal into its predominant state.
Setting a debounce is similar to setting an on-delay and off-delay simultaneously.
Examples
- AdapterScript
var1:
- source: AIN0
- threshold: 4
- debounce: 0.25
info
In the above example, AIN0
is an identifier available in LabJack data sources.