LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

getting the label from a radio selection in a radio buttons box

Solved!
Go to solution

I am using a radio buttons control, with four radio selections in it.  I understand that this is an enumerated type, so the value is a "number."  When you wire that control to a case statement, the case is auto-populated with the labels of the radio selections.  Is there a way to capture the label of the button which was selected?    I am using LabVIEW 8.0 for this project.  Thanks in advance for your time.

0 Kudos
Message 1 of 3
(2,362 Views)
Solution
Accepted by topic author bjstaff

Hi bj,

 

just use a FormatIntoString with format specifier "%s"...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,361 Views)

I figured there was an easier way than creating an array, and using the value to select which one from the array.  Thanks.

 

Brian

0 Kudos
Message 3 of 3
(2,357 Views)