LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enum vs List

I agree Dan

And I do it that way too -- I just never thought of changing the front panel control to a list box.  So the user can see all the choices without having to click the control.  They can make their selection right from the list box.  It will make the user instructions easier to write and ease of use goes up.  Excellent!!

Message 11 of 16
(1,161 Views)

Now it works with changing Enum representation to U32 as I have no idea how to change Listbox to U16.

Could you explain how to change Listbox representation? When I right-click of Listbox, there is no representation.

Thanks a lot~!!!

0 Kudos
Message 12 of 16
(1,160 Views)

radar_can,

Not sure why you are struggling so much. Here's an example in 6.0.

Message 13 of 16
(1,160 Views)

Superb~!!!

Now I can go home~ ^^

0 Kudos
Message 14 of 16
(1,150 Views)

Ooops~

Just let you know that I'm a beginner. I took a basic I&II courses last week ^^

You may see my questions afterwards...Thanks.

0 Kudos
Message 15 of 16
(1,143 Views)
@Tom: right, actually I never even used it with listboxes myself... What I did use is menu rings and convert them to enum in the block diagram. But now that radar_can brought up the idea I might also use listboxes in one or two places in future.

@radar_can: I don't think you can change the representation of the listbox, but it's not required. Either change the enum representation to I32 (like you did) or convert the listbox output.
Message 16 of 16
(1,142 Views)