02-15-2011 07:42 AM
I am wanting to display a simple dialogue box, but I don't want any operator intervention (no buttons showing). I simply want a dialogue box to pop-up when a file begins to copy, and close when the process is complete. It is just informative, letting the user know the operation is taking place, but I don't want the program to halt waiting for the operator to click OK. Any help would be appreciated. Thanks.
Solved! Go to Solution.
02-15-2011 08:03 AM
Create a vi to serve as your dialog box, then call it using vi server. Basically, you can open the front panel (thus displaying your dialog), do the file operations in the background and then close the front panel.
02-15-2011 08:50 AM
Thank you for the response. Perhaps the problem was so simple, I couldn't see it. Simple solution, yet elegant![]()
02-15-2011 09:07 AM
How about this? It doesn't open up a dialog ... but hopefully it still accomplishes what you wanted: provide the user some feedback that the file is currently being copied.
Note that this uses two methods for controling the flow of execution.
1. The flat sequence structure forces the initialization of Status_Bar_Message to occur first.
2. The flow of the error out wire defines the order in which all the other steps are performed.
Also, to perform steps 2 and 4 you'll need to:
Right-click Status_Bar_Message -> Create -> Property Node -> Value
Then Right-click the resulting icon and choose "Change all to write"
02-15-2011 09:40 AM
Thank you for your reply. For my application, opening the fp as a dialog box is probably the way to go. It's more noticable to the user instead of a string control that may or may not be noticed on a fp with many controls already.