From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

reset control

Solved!
Go to solution

How can I reset controls to default when I stop running the program (with abort execution or stop button on front panel)? 

0 Kudos
Message 1 of 7
(4,411 Views)

For starters, NEVER ABORT.  If you are using a statemachine you should have an exit state that will allow you to handle reseting controls.  You could do this using something like this code here:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

This is an invoke method for the VI, found on the Application Control pallete.

 

 

Message Edited by jmcbee on 03-13-2009 11:36 AM
Download All
Message 2 of 7
(4,410 Views)
I cant find it, Im sorry. Can you help me once again how to find and how to connect?
0 Kudos
Message 3 of 7
(4,397 Views)
Solution
Accepted by topic author musclelab

No Problem.  Take a look at these images and let me know if you still have any questions.

 

 

 

 

 

 

 

 

 

 

 

 

 


 

 

 

 

 

 

 

 

 

 

 

 
 
 
 

Message Edited by jmcbee on 03-13-2009 12:14 PM
Download All
Message 4 of 7
(4,387 Views)
Thanks a lot !
0 Kudos
Message 5 of 7
(4,369 Views)

This has helped me also. Thank you.

0 Kudos
Message 6 of 7
(3,464 Views)

thanks for the help

0 Kudos
Message 7 of 7
(3,444 Views)