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 Check socket. 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 size control.

  • Simple boolean output suitable for downstream logic and alarms.

  • Works with any numeric sources (manual inputs, measurements, computed values).

πŸ“ Usage instructions

  1. Set how many values you want to compare using Input size.

  2. Connect numeric sources to the Number sockets (for example, sensors, manual Number Input, or computed values).

  3. Read the boolean result from the Check output and use it to trigger logic, notifications, or further processing.

πŸ’‘ Tips and Tricks

  • Use Number Input or Number Range blocks to feed test values into the Number sockets while building your flow.

  • Combine the Check output with logical blocks such as And or Or to build richer decision logic.

  • Use All True when 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 Scope or inspect them with Debug Input to understand why the comparison result is TRUE.

  • Use Data Memory if you want to freeze or hold a reference value for later comparison sequences.

  • Chain with comparison blocks like Equals, Greater, or Smaller to build compound checks before feeding values into this block.

πŸ› οΈ Troubleshooting

  • No change in output: verify that multiple Number sockets 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 size to expose more Number sockets. If you see extra unused sockets, reduce Input size to remove them.

Last updated

Was this helpful?