cancel
Showing results for 
Search instead for 
Did you mean: 

string ring menu ring

LarsUlrich
Active Participant

string ring menu ring

Message contains an image

One function I have found super useful is the string ring, but I can't find it!  The menu ring is pretty easy to find, right click on the front panel and it is listed right there under text controls.  But, every time I want a string ring, I have to go into a vi I got help with on one of these forums and copy/paste it in, which is silly.

 

Also, if I have a menu ring constant (like the one below), is there a way to convert it into a string ring constant (which I also do not know how to make other than the very roundabout way of making a sub.vi with a string ring input and creating a constant) without having to re-type all of the values?

Menu Ring Constant.JPGString Ring Constant.JPG

6 REPLIES 6
Darin.K
Trusted Enthusiast

Re: string ring menu ring

Jargon is important sometimes. The String Ring is called a Combo Box and I like them a lot as well. To create the constant I usually start from a control and either create or change to a constant.
JÞB
Knight of NI

Re: string ring menu ring

Its called a "Combo Box" on the string and path controls palatte


"Should be" isn't "Is" -Jay
LarsUlrich
Active Participant

Re: string ring menu ring

Thanks, now is there a way to convert an already made menu ring into a combo box (and the same with their equivalent contant forms)?

JÞB
Knight of NI

Re: string ring menu ring

Message contains a hyperlink

no,  the combo box item editor (and menu and enum item editors) that ship with LabVIEW do not live up to expectaions.  I imagine that some people have a "roll your own" plug-in handy that adds functionality like multiple separators, blank values, duplicate values, and string to number conversions. Feel fre to vote on this idea

 

Type cast might be fairly easy to move some of the items though (as Darin is probably typing at the moment)


"Should be" isn't "Is" -Jay
Darin.K
Trusted Enthusiast

Re: string ring menu ring

Message contains an image

No Type Cast here, just a couple of properties:

 

RingToComboBox.png

Re: string ring menu ring

I think you can just use the property nodes. For a menu constant, first "create control" then populate the combo box control, then "create constant."

 

Edit: Nevermind, Darin got to it first