Skip to main content

CompareSync Operators

A family of operators that synchronize two NumberData streams by timestamp and emit the result of a comparison as BooleanData.

Common Ports

PortDirectionTypeDescription
i1dataNumberDataLeft-hand side value
i2dataNumberDataRight-hand side value
o1outputBooleanDataComparison result (i1 OP i2)

Pairs of messages are matched by timestamp. A result is emitted only when both i1 and i2 have messages at the same timestamp.

Available Operators

TypeExpressionParameters
CompareSyncGTi1 > i2none
CompareSyncLTi1 < i2none
CompareSyncGTEi1 ≥ i2none
CompareSyncLTEi1 ≤ i2none
CompareSyncEQ|i1 − i2| ≤ tolerancetolerance (default 0.0)
CompareSyncNEQ|i1 − i2| > tolerancetolerance (default 0.0)