11-21-2011 05:00 PM
Hi i'm new working with labview, i have been made an aplication with express tool vi output called "display msg" and when i run the program in "run continuosly" the message window dont close when i push "ok" i want to know if there is a way to disable the message window when i push the bottom "ok" ?
Solved! Go to Solution.
11-21-2011 05:13 PM
Is your code doing anything other than displaying the message box? Run Continuously will automatically re-run the Vi when the code is complete. So, if you dismiss the dialog, the VI will restart and display it again.
11-21-2011 05:21 PM
yes mi code simulate a temperature regulator and i use the express tool vi display messages to user for warning about the maximum temperature and minimum temperature, i attached the vi
11-21-2011 05:31 PM
The VI you wrote will display a prompt if enabled with every run. If you use run continuously, you have no opportunity to change the value, so you will always get the prompt.
Run continously is not the method you should use to run your VI. Use a while loop. You'll have to detect that the temperature value has changed (or better yet that you have already notfiied the user of the alarm). If you want an alarm for every dat point change, you'll need ot use the event structure or track your last entered value and check to see if the current value is different.
11-21-2011 05:40 PM
I'll use an event structure for the warnings thank you so much for help me i'm just starting with labview and i don't know very well the tools and the UI jeje how can i vote for you?
11-21-2011 05:45 PM
If you want to give kudos, click the star icon underneath my user avatar. If you want to mark a post as the solution, there is a button next to the reply button Accept as Solution.