LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring Radio button

Solved!
Go to solution

Hi

 

I am just completely stuck. I am making a calculator using case structure. I found a thread on this forum that had the solution to my issue. But I am unable to replicate it , I cannot find the settings or properties that were changed to make it work like the posted solution.

 

Here is the thread Link a community member named “altenbach” posted the solution and I would love to know , how I can configure the buttons as he has done in his program named RadiobuttonFive.vi that is posted in that thread.

 

Any help is appreciated , in advance thank you

 

I've attached my program.

0 Kudos
Message 1 of 6
(1,288 Views)

Hi Dino,

 

use a RadioButton instead of an Enum control.

Then add buttons to the RadioControl as needed…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(1,265 Views)
Solution
Accepted by Dynamic_Dino

A radiobutton control is a special container for booleans (similar to a cluster, but with built-in logic that only keeps the last selected boolean true). It accept any number and style of booleans and acts like an enum with items corresponding to the boolean labels.

 

Just drop more booleans or remove the ones you don't like (except the last one, see here).

 

 

0 Kudos
Message 3 of 6
(1,242 Views)

Thank you so much for your answers ! It works and i'm really happy , again thank you both!

0 Kudos
Message 4 of 6
(1,176 Views)

Hi,

 

Can you link how you did it?

0 Kudos
Message 5 of 6
(462 Views)

Hi Hesse,

 

did you try to follow our answers?

Where are you stuck?

 

  1. Place a radio button on the frontpanel.
  2. Add a new button by dropping it into the radiobutton container.
  3. Delete a button from the radiobutton container.

Which step doesn't work for you?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(460 Views)