LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

displaying a message until an operation has finished

Solved!
Go to solution

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.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 1 of 5
(3,120 Views)
Solution
Accepted by topic author MoReese

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.

 

vi server.png

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 5
(3,111 Views)

Thank you for the response.  Perhaps the problem was so simple, I couldn't see it.  Simple solution, yet elegantSmiley Happy

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 3 of 5
(3,095 Views)

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.

 

 

 

busy_notification.png

 

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"

0 Kudos
Message 4 of 5
(3,089 Views)

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.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 5 of 5
(3,078 Views)