Not
This function block inverts a boolean signal. Use it when you need the opposite logical state of a condition.
π₯ Inputs
Boolean This input socket accepts a logical (True/False) signal to be inverted.
π€ Outputs
Boolean This output socket provides the inverted logical result.
πΉοΈ Controls
No Controls This block has no user-facing widgets; it only processes the input signal.
βοΈ Running mechanism
When the block runs it reads the incoming boolean signal and outputs its logical negation. If the input is True the output becomes False, and vice versa. It works with boolean signals provided by other function blocks or manual inputs.
β¨ Features
Simple logical inversion for flow control and decision making.
Lightweight and instant response suitable for real-time scenarios.
Safe to place anywhere a boolean inversion is required.
π Usage
Feed a boolean signal into the
Booleaninput to receive its inverted value on theBooleanoutput.Use it to toggle conditions, invert enable signals, or create complementary triggers.
π‘ Tips and Tricks
Combine with
AndorOrto build more complex logical expressions (for example, invert one branch before combining).Use with
Equals,Greater, orSmallerto invert comparison results when you need the opposite condition.Pair with
Rising EdgeorEdge Rising/Edge Fallingstyle blocks to invert edge signals for alternative trigger behavior.Use alongside
Set - Resetto invert set/reset conditions when implementing simple state toggles.Place before an action block (for example, gating an output) to invert an enable/disable signal without changing upstream logic.
π οΈ Troubleshooting
If the output is not what you expect, verify the source of the boolean signal feeding the
Booleaninput.Use a logging or debug block to inspect the incoming boolean value if the logic flow seems incorrect.
Last updated
Was this helpful?