Not Equals
This function block compares multiple numeric inputs and outputs a boolean result that indicates whether any of the provided numbers differs from the first one. It's useful in logic flows where you need to check consistency between several readings or values.
π₯ Inputs (sockets)
Number One or more numeric sockets. Provide at least two numeric sources to compare. The first connected value is used as the reference and all following values are compared against it. The number of these sockets can be adjusted with the control below.
π€ Outputs (sockets)
Check A boolean result. Returns TRUE when at least one of the provided numeric inputs is different from the first (reference) value. Returns FALSE when all provided values are equal (or when only a single value is present).
πΉοΈ Controls
Input size Dropdown control that sets how many Number sockets are available (values from 2 up to 20). Use this to add or remove input sockets depending on how many values you need to compare.
βοΈ How it runs
The block watches the active numeric sockets you provide.
It uses the first available number as the reference value.
Each other connected number is checked against that reference.
If any of those numbers differs from the reference, the block outputs TRUE on the
Checksocket. If all numbers are equal (or only one value is present), it outputs FALSE.
The block ignores sockets that are not connected, so only connected numeric values are considered.
β¨ Key features
Dynamic input count: easily configure how many values you want to compare with the
Input sizecontrol.Simple boolean output suitable for downstream logic and alarms.
Works with any numeric sources (manual inputs, measurements, computed values).
π Usage instructions
Set how many values you want to compare using
Input size.Connect numeric sources to the
Numbersockets (for example, sensors, manualNumber Input, or computed values).Read the boolean result from the
Checkoutput and use it to trigger logic, notifications, or further processing.
π‘ Tips and Tricks
Use
Number InputorNumber Rangeblocks to feed test values into theNumbersockets while building your flow.Combine the
Checkoutput with logical blocks such asAndorOrto build richer decision logic.Use
All Truewhen you need the opposite behavior (check that a set of boolean conditions are all true) alongside this block in larger logic chains.Log or visualize numeric values with
Scopeor inspect them withDebug Inputto understand why the comparison result is TRUE.Use
Data Memoryif you want to freeze or hold a reference value for later comparison sequences.Chain with comparison blocks like
Equals,Greater, orSmallerto build compound checks before feeding values into this block.
π οΈ Troubleshooting
No change in output: verify that multiple
Numbersockets are connected and providing values. If only one value is present, output will be FALSE.Unexpected TRUE: check that all numeric inputs use the same units/scale (e.g., mm vs cm) and that small measurement noise isn't causing differences. Consider preprocessing or rounding upstream.
Missing sockets: if you need more inputs, increase
Input sizeto expose moreNumbersockets. If you see extra unused sockets, reduceInput sizeto remove them.
Last updated
Was this helpful?