LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
GregSands

Add the Select function to most Comparison functions

Status: New

I seem to have this form of construct regularly in my code:

 

CheckSelect.png

 

i.e. a comparison function followed immediately and only by a Select function.  My suggestion is that most of the Comparison functions (except Max/Min, In Range, and Lexical Class) should have optional True/False terminals which if wired, include the Select functionality, and therefore change the output from a Boolean to the wired type.  It might be sensible to use the larger triangle icon as well.

 

CheckSelectNew.png

 

 

1 Comment
DFGray
NI Employee (retired)

I run into this a lot, as well.  I think I would prefer if the Select function itself had modes, rather than changing each of the comparisons.