LabVIEW Idea Exchange

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

Select or show enum values at case selector

Status: New

enum.png

...fast selection of enum value/member instead of opening enum-element or constant...

3 Comments
AristosQueue (NI)
NI Employee (retired)

Speaking for myself alone as a G developer and NOT as a member of LV R&D:

I have a hard time seeing utility in this, and the UX would be pretty weird to temporarily make this list appear on the screen. The enum values can be seen in the control on the front panel and in the Context Help (hover over the wire). If the list of enum values is longer than the CH reasonably supports, then I think that the display on the diagram would likewise be insufficient. For me, personally, this would just be noise in the right-click menus.

 

Speaking as a member of LV R&D:

My bet is that this will not garner many kudos because of the odd UX. But I have frequently championed strange UX choices, and some of them have caught on with the community, so I won't say it is necessarily a bad idea. If you really think this is valuable, you can build your own custom right-click shortcut menu item to do this. Post it to https://ni.com/lvmenus so the rest of the community can see it. That may help drive it into the product. You can find instructions for creating right-click plugins and other plug-ins the community has made at that same URL.

wiebe@CARYA
Knight of NI

You do need to know the names of the enum to be able to type them in the case. I actually find myself creating a constant form the selector, because the source enum is 'to far away'. So I do get the sentiment of this idea.

 

Selecting the case values from the selector does feel weird, because the selector is shared by all cases. I'd prefer a dialog (triggered by a right click or double click) to facilitate the case selection, maybe something like the event structure (but easier).

AristosQueue (NI)
NI Employee (retired)

Note that building a custom right click is not *quite* the same UX as what is being requested, but it is a step in that direction that may give a better feel for whether this is a good idea or not.