From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Force to buttons to default values at start

I have a radio button that I would like to go to the default value (Null) at start.  The problem is that if I forget to clear the button/action after a run and start the VI again the "action" gets invoked,,,, not good. 

 

I swear I saw a way to force a VI to reinitialize all values etc,, at start.

0 Kudos
Message 1 of 4
(2,516 Views)

HI SciDesign

To come out of this problem right click on that radio button and select allow No selection and initially pass 0 to that radio Button i think this will help you.....

Regards,
Santhosh M
0 Kudos
Message 2 of 4
(2,505 Views)
You can write any value you want to the radio button's local variable (no need for 'Allow No Selection' unless that is what you want) or use the VI method called Default Vals.Reint All. You can do this at the beginning or end or your program
Message 3 of 4
(2,503 Views)
Thank you all!  I was able to get what I needed by writing to the Local Variable in the first frame.
0 Kudos
Message 4 of 4
(2,462 Views)