Obtaining the String Selected from a Text Ring or Menu RingPrimary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Primary Software Version: 8.5.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
I have a text ring or a menu ring on my front panel. These give me the number associated with the item the user selected; however, I want an easy way to find the string.
There are two methods for doing this.
A simple solution is to use a property node to retrieve the text property.
A second solution is useful when trying to limit the number of property nodes used. A property node can retrieve the Strings property. Then use the index array function to find the particular string the user selected. For more information on the performance of property nodes please see the Related Links section.
KnowledgeBase 2T9ICKTL: How Can I Optimize the Memory Use in My LabVIEW VI?
KnowledgeBase 2WD8GR00: Programmatically Edit Items in a Menu, Text, or Enum Ring List
KnowledgeBase 32JFF559: Programmatically Index Through an Enum, Text, or Menu Ring
KnowledgeBase 275EA8XQ: Changing the Item List Color of a Menu Ring In LabVIEW
KnowledgeBase 2MOF9IO9: What is the Difference Between a Local Variable and a Value Property Node?
Report Date: 02/13/2004
Last Updated: 06/25/2008
Document ID: 36C8G0E6