05-07-2012 10:11 AM
Hello!
I am using the "Display Message to user" express-Vi in order to display a message to the user under certain conditions. Is there a integrated way of stopping the VI everytime the message is displayed, or do I have to use a Event Structure?
Greetings
Kristoffer
Solved! Go to Solution.
05-07-2012 06:21 PM
There is a Stop VI that will halt your application it is in the Application Control VIs and Functions. If you are in a while loop, you can pass a true to the stop node and a default value of false for all other states. There is also an Quit Labview VI that will shut down and close the application completely. I've attached a vi that looks at whether you are running the vi in the development environment or as an executable and stops or shuts it down based on that. It is Labview 2010.
05-08-2012 05:22 AM
Thanks! It was something like that I was looking for!:)
Greetings
Kristoffer