LabVIEW Idea Exchange

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

Improve enum editing for large lists and two enums at a time

Status: New

SoftWEng_0-1643899774915.png

It would be very helpful if there was a way of seeing the full lists of two different enum type defs at the same time and edit both lists simultaneously.  Right now if you click the button to edit elements in a enum it locks out LabView so that you cannot see the list of elements in another enum.  It is also really frustrating that in the edit window there is no way to increase the size so that you can see more than 6 elements or make the Item column larger to see long enum elements.

SoftWEng_0-1643899774915.png

 

Then there is no way to add more than 6 items easily to the bottom of the list.  You have to hit insert and it puts the element second from last and then you have to move down.  It should be more like an array or table where you can just type and hit enter and add a lot of elements easily, resize and see as many as you want without having to scroll if you want a full window of the enum.

SoftWEng_1-1643900278037.png

 

3 Comments
wiebe@CARYA
Knight of NI

Parts of this idea are covered here: Better enum editor - NI Community

 


@SoftWEng wrote:

It should be more like an array or table where you can just type and hit enter and add a lot of elements easily,


You can actually edit enum items directly in (the type def of) the control (indicator or constant).

 

A trick that might come in handy is that you get a new item, ready to be edited, with CTRL+Enter. 

 

But, there's no overview, as you only see 1 item while typing.

SoftWEng
Member

Yes, I know both of those.  I was looking at that post before writing this one 🙂 But what I really want is to be able to see my whole enum while editing and preferably see multiple full enums at the same time.  Right now I go into the control click the dropdown and take a screen shot really fast but thought there had to be a better way and was very disappointed to not find one.  The only other way is to create an array with each string element of the enum in it but that is a pain even with a small vi that does it because it needs to be run every time the enum is updated.

wiebe@CARYA
Knight of NI

>>The only other way is to create an array with each string element of the enum in it...

 

You can make your own right click shortcut menu. You can make this non-modal. I'm not sure if you (or how to) get the same updating behavior of enums though.