LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display message plus stopping VI

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(2,406 Views)

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.

Message 2 of 3
(2,389 Views)
Solution
Accepted by topic author Sjefsgjogleren

Thanks! It was something like that I was looking for!:)

 

Greetings

Kristoffer

0 Kudos
Message 3 of 3
(2,375 Views)