ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(5,450 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
(5,449 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
(5,436 Views)
Solution
Accepted by 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
(5,426 Views)
Thanks a lot !
0 Kudos
Message 5 of 7
(5,408 Views)

This has helped me also. Thank you.

0 Kudos
Message 6 of 7
(4,503 Views)

thanks for the help

0 Kudos
Message 7 of 7
(4,483 Views)