LabVIEW Idea Exchange

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

Expandable Equals Node

Status: New

Many times I want to see if a variable equals any one of a group of possible values.  There are several ways to code this up now, (one method show below as "OLD").

 

I would like a single, simple expandable node to save diagram real estate. The top wire terminal would be the item to compare, "equal to.." and all the rest are the possible values. If any of these are a match, return TRUE, else return FALSE.  Obviously this should be polymorphic, so that we could compare anything, for example, the current config cluster, with a group of configurations.

 

Example New Expandable Equals Node.png

 

For extra credit:

1. Be able to wire arrays into the expandable terminals.

2. Be able to pop up on an input node and designate it and the following node as a Range-Pair, (shown in example above) ie from 7 to 23, or values of an enum or ring, etc,  inclusive or exclusive, with those terminals showing solid or outline diamonds like on the the "In Range and Coerce" node.