Skip to main content

min-delta

Syntax

- min-delta: number

Description

When min-delta gets its first sample, it will remember the value and continue to output that value as new samples come in unless the difference between the sample and the remembered value exceeds the min-delta value. When the difference is exceeded, min-delta will output and remember the new sample.

This operation has the effect of quantizing an input into a smaller set of discrete values, although it is not guaranteed to always pick the same ones. Small min-delta values can be useful for removing minor signal noise and reducing the amount of data that flows out of the operation chain.

Examples

  var1:
- source: AIN0
- min-delta: 1
info

In the above example, AIN0 is an identifier available in LabJack data sources.