06-02-2016 02:43 PM
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,
Shree
06-02-2016 02:55 PM
Format Into String works for me.
06-02-2016 02:56 PM
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.
06-06-2016 07:55 AM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
15 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord