|
|||||||||||||
Actually for a multi choice selection by enum or numeric, we have 3 possibilities:
1) Creat multi case structure and connect and enum to it.
2) Creat an array and select element by index
3) use few "bipolar" selectors
I think it will be better if a growable multiplexor exist and be polymorphic, with selection made by enum or numeric. Something like that:
Eric
A better choice is to make the control itself an array of strings and always carry the data as an array, so "index arrray" is all we need. (and we already have that!). ![]()
I would like the node to be more similar to the case structure. Specifically, I would value an equivalent of selector case labels from the case structure in this node, because it would make code easier to review, especially when working with enums. The picture below shows a case structure with three cases and equivalent design with the growable mux.
Possible extensions, all consistent with the case structure:
I got asked by a co-worker to clarify consistency between the proposed node and the case structure. I hope the following picture conveys the point:
Here is a mock-up of a node with ranges:
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page