LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

whenever i execute my application,afterwards i press buttons like stop,save,write etc.after execution these buttons does not reset automatically. i have to press these buttons again to bring them to initial state. please tell me.thanks

whenever i execute my application,afterwards i press buttons like stop,save,write etc.after execution these buttons does not reset automatically. i have to press these buttons again to bring them to initial state. please tell me how should i bring all these buttons automatically to their initial states.thanks
0 Kudos
Message 1 of 4
(2,629 Views)
Hi Fais

You've probably the "wrong" mechanical action. Right click on the boolean control, goto "mecahanical action" and select there "latch when pressed" or "latch when released". "Latch when released" should be the best in your case.

Luca
Regards,
Luca
0 Kudos
Message 2 of 4
(2,629 Views)
1) Right click on a button and change its mechanical action to Latch when Pressed or Latch when Released.

2) If you want to keep the Switch when Pressed or Switch when Released mechanical action, then you will need to reset the state of the button by using a local variable.
0 Kudos
Message 3 of 4
(2,629 Views)
I interpret your statement to mean "after execution", i.e., after your program has stopped. The buttons will stay depressed, regardless of mechanical action, if you're in the stopped state - you're editing the front panel, not executing the program anymore. This is normal behavior.

You can use RESET ALL TO INITIAL VALUES to pop them all back out, but you really shouldn't operate the buttons when stopped unless you're intending to change text or colors of the depressed condition of the buttons.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 4 of 4
(2,629 Views)