05-19-2016 08:59 AM
Can someone please point me to an example of a simple pop up that pauses a program with a message and asks the user to hit Enter to continue?
Basically the power supply in the test is not automated yet
I need to
Pause the program
Tell the operator to set a voltage
Then continue the program
I am guessing this needs to be an event?
Can I trigger on the Error in line?
Any examples would be greatly appreciated
Solved! Go to Solution.
05-19-2016 09:09 AM
05-19-2016 09:12 AM
You have to create a subVI with properties (window appearance) set as dialog.
To launch it when it is required we need to know how your main program is build...
05-19-2016 09:12 AM
Create vi with UI and call it as subVI with "open FP when called"
05-19-2016 09:57 AM - edited 05-19-2016 10:00 AM
Edit:
Sorry I just reread your post and noticed that the equipment was not automated. But if you do automate the attached equipment then my comment below would apply.
-----
My advice is to be careful with pop up messages when you are controlling external equipment. You can create other issues if you are controlling a piece of equipment and a pop up stops your program waiting for input.
I was controlling a cooling loop on a chamber and everything worked fine. Then one day while the LN2 solenoid was on for cooling a pop up froze the program waiting for a response. Luckly LN2 is easy to clean up and nothing bad happened.
05-19-2016 01:53 PM
I couldnt find User interface function
05-19-2016 01:54 PM
sorry dont respond
I have more info
have to go to meeting
05-19-2016 02:13 PM
I don't have 2015 installed to look at your program. Right click on the block diagram goto Programming > Dialog & User Interface and look at the Prompt User VI. Or just search for Prompt User.
05-19-2016 02:25 PM - edited 05-19-2016 02:27 PM
try this
edit - i apparently don't understand snippets
05-19-2016 02:39 PM
Why are we exploring all of these complicated methods to do what was solved a thousand times easier in the first reply?
Throw up the one button dialogue.