LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Be-lock-eh

Add Invert option to output of "Empty String/Path?" Function

Status: Duplicate

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:

Empty String Path NOT.png

Thanks!

4 Comments
User002
Not applicable

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.

joerg.hampel
Active Participant

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.




DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (Developer Experience that makes you smile )


Christina_R
Active Participant
Status changed to: Duplicate
 

Christina Rogers
Principal Product Owner, LabVIEW R&D