Showing results for 
Search instead for 
Did you mean: 

enum to string

Go to solution

Hi folks,


How to convert Radio button enums to String ?

Because there is no string[] property node and ring text as well.


Thanks in advance!!!


With regards,




0 Kudos
Message 31 of 34

Format Into String works for me.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 32 of 34

If you're talking about a single value, the Format Into String function works.


If you want to get all of the Labels of the Radio Selections, you can loop through the Controls[] property and grab the Label.Text for each control.

0 Kudos
Message 33 of 34

There's also an OpenG function called Get Strings From Enum, under the LabVIEW data palette, which will return the string value of an enum, and all possible values as an array of string.  This works without references, and works on RT.

0 Kudos
Message 34 of 34