LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Text from ring control

How can I extract text from a ring control without using property nodes and case structure? Can Format into String (or some other string function) be used , somehow, for this purpose?
0 Kudos
Message 1 of 5
(3,597 Views)

 


C .DOT wrote:
How can I extract text from a ring control without using property nodes and case structure? Can Format into String (or some other string function) be used , somehow, for this purpose?

 

 

Quoting myslef from this thread "Menu Rings are just fancy numerics, Enums are probably what you want."

 

The bottom line is that that rings do not carry the strings with them in thier wires so there is no way to get at the string values unless you use a property node (that you ruled out in your Q).

 

Ben

 

PS I'd also recomend making the enum a type definition just to make life easier.

 

 

Message Edited by Ben on 12-02-2008 07:48 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 5
(3,588 Views)
Thanks Ben for clearing that issue for me.
0 Kudos
Message 3 of 5
(3,581 Views)
The ring control is a numeric control. You cannot get text from it without
property nodes.

You can do this with an enum. This is possible because the text is included
in it's type. That is why you can't change an enum's text when it is
running... A ring control can be changed, and the text it displayed is not
included in it's type, so you can use the format into string trick...

Regards,

Wiebe.


Message 4 of 5
(3,564 Views)
Thanks Wiebe@CAR…! for detailed info!
0 Kudos
Message 5 of 5
(3,554 Views)