11-02-2011 09:57 AM
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?
11-02-2011 10:09 AM
11-02-2011 10:10 AM
Its called a "Combo Box" on the string and path controls palatte
11-02-2011 10:21 AM
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)?
11-02-2011 10:30 AM - edited 11-02-2011 10:31 AM
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)
11-02-2011 10:34 AM
No Type Cast here, just a couple of properties:
11-02-2011 10:34 AM - edited 11-02-2011 10:36 AM
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