ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pop-up window

I am working on a program that frequently writes and reads from a database. When I am writing or reading waveform information to the database, the processing time is long. I would like to display an pop-up dialog box that tells the user what is happening (i.e. "Writing waveform data", "Retreiving waveform data"). I would like this box to pop up when the process starts and disappear when the process is finished, without any user interventions. I have made some dialog boxes to display the comments listed above, but I can't get the boxes to pop up and close when I want them to. I would appreciate any help.

Thanks.

JFM
0 Kudos
Message 1 of 5
(3,560 Views)
hi JFM,

The easiest way would be to call pop VI using VIServer during different times of your main VI (the one which is writing/reading data from the database).

You can excute FrontPanel.Open property with bolean TRUE and FALSE at different times thereby controlling the pop up window to appear and disappear.

A Rafiq
National Instruments
0 Kudos
Message 2 of 5
(3,560 Views)
A simple way that I use is to make the sub-vi that is doing the processing pop-up with the message while it is doing the work with the "show when called/close after" window option. Quick and dirty but effective.
Stu
0 Kudos
Message 3 of 5
(3,560 Views)
Agree! Thats what i thought the first place but then i though he might just want to have one pop up VI called using VI Server with messages (string text) changing on the fly.
A Rafiq
0 Kudos
Message 4 of 5
(3,560 Views)
Hi,

Try this: put you writing- and reading-prozesses in a sub-vi. Set
preferences: frontpanel shown when sub-vi is called and closed if
finished.

Greetings Niko

JFMoynihan schrieb:

> I am working on a program that frequently writes and reads from a
> database. When I am writing or reading waveform information to the
> database, the processing time is long. I would like to display an
> pop-up dialog box that tells the user what is happening (i.e. "Writing
> waveform data", "Retreiving waveform data"). I would like this box to
> pop up when the process starts and disappear when the process is
> finished, without any user interventions. I have made some dialog
> boxes to display the comments listed above, but I can't get the boxes
> to pop up and close when I
want them to. I would appreciate any help.
>
> Thanks.
>
> JFM

--
Ingenieurbüro Mencke & Tegtmeyer
Laubbreite 21
D-31789 Hameln
Tel. 0 51 51 / 96 33 68
Fax 0 51 51 / 96 33 69
e-Mail: menckeundtegtmeyer@t-online.de
0 Kudos
Message 5 of 5
(3,560 Views)