From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Compound arithmetic allows you to invert inputs or outputs. I find myself often checking for a string or path to NOT be empty. It would be nice to be able to invert the output the "Empty String/Path?" function instead of needing to wire up the additional "Not" function. It would look kind of like this:
I think any node with a Boolean Terminal should have an Invert option. ***Bonus points if any SubVI you create that has scalar Boolean Terminals can be inverted as well.
AND, can we make that Invert "dot" more obvious? Sometimes it's hard to tell when scanning a BD, and a little larger, or other way to show that terminal is Inverting the Boolean would be nice.
I don't use the invert options at all but instead wire a not operator. We decided that the not operator is much easier to read (ie harder to miss), and we put that strategy into our coding conventions.