LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

display messages to user

Solved!
Go to solution

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" ? 

0 Kudos
Message 1 of 6
(5,104 Views)

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.

0 Kudos
Message 2 of 6
(5,099 Views)

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

0 Kudos
Message 3 of 6
(5,095 Views)

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.

0 Kudos
Message 4 of 6
(5,092 Views)

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?

0 Kudos
Message 5 of 6
(5,090 Views)
Solution
Accepted by topic author Relojero

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.

Message 6 of 6
(5,082 Views)