Hi,
I'd make a sub vi with a case in it. The case has three 'states': Show
Window, Hide Window and NOP (no operation). The sub vi must be a dialog, but
Show window when opend must be off.
The Show Window and Hide Window case should have vi property nodes (no
reference wired, to use it's own reference) with the 'show panel' property
set to true and false. The NOP case is empty.
Wire an enumerated to the case, and wire it's control to the connector pane.
Also wire a status control to the connector pane.
Put the sub vi before the while loop, with the Show Window option. The sub
vi will show (perhaps you also want to initialise the status indicator in
the Show Window case).
In the loop, put the sub vi with the status control wired to the actual
value, and NOP to
the window control.
When done (after the while loop, but be carefull about race conditions, )
put the sub vi with Hide Window wired to it. (Put the enumerated inside the
while loop and wire it through the while loop to the sub vi to prevent
this.)
Regards,
Wiebe.
"Terry S" wrote in message
news:5065000000080000008EA10000-1042324653000@exchange.ni.com...
> Can somebody give me some good ideas on how I could create a popup
> that will appear when a loop is running and then disappear when the
> loop is finished. I would also like to show a status bar in the
> popup.