LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create non-modal dialog box?

I'm trying to create a non-modal dialog box. The purpose is to show an alarm for the user but should leave the calling VI continuing to run. I have created such a thing -- the problem is that I can't figure out how to get the dialog box to go away! It stops running but the window just hangs around. See the attached VIs and image.

 

Thanks in advance for your help,

Chad

Download All
0 Kudos
Message 1 of 5
(4,298 Views)

Set the window properties to show front panel when called and close afterwards. (VI properties...windows appearance...customize...look near lower left corner).

 

(make sure it window is closed before running the caller)

0 Kudos
Message 2 of 5
(4,292 Views)

Unfortunately, that doesn't do anything.

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

It should work, maybe there is a mistake. Can you attach the modified code?

 

Of course, you can always use a "close panel" method after the loop has finished.

0 Kudos
Message 4 of 5
(4,277 Views)

Ok, I've attached the files. Thanks for looking at this.

 

Chad

Download All
0 Kudos
Message 5 of 5
(4,272 Views)