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.
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.
03-13-2009 12:24 PM
How can I reset controls to default when I stop running the program (with abort execution or stop button on front panel)?
Solved! Go to Solution.
03-13-2009 12:31 PM - edited 03-13-2009 12:36 PM
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.
03-13-2009 12:59 PM
03-13-2009 01:10 PM - edited 03-13-2009 01:14 PM
No Problem. Take a look at these images and let me know if you still have any questions.
03-13-2009 01:34 PM
05-25-2011 10:23 AM
This has helped me also. Thank you.
06-06-2011 11:19 PM
thanks for the help