LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically close panel after run

Hi there,
I have designed a simple labview program, and compile that to a .exe file.
Whenever i had finished running the program (exe), the front panel is
still there. I have to click on the x box on the right top corner of the
window
of the panel to manually close it. How can i close it automaticcally ? I
just
want to quit the program completely after run.

I had tried checking the "Closed afterwards if originally closed" option
in
the VI setup of the program, yet not working. Also tried use the "Quit Labview"
subvi in the application control pallete, not working too.

Any idea will be greatly appreciated.

Rgds,
anthony
0 Kudos
Message 1 of 3
(3,138 Views)
On 23 Nov 1999 18:56:05 -0600, "Anthony" wrote:

>I have designed a simple labview program, and compile that to a .exe file.
>Whenever i had finished running the program (exe), the front panel is
>still there. I have to click on the x box on the right top corner of the
>window
>of the panel to manually close it. How can i close it automaticcally ? I
>just
>want to quit the program completely after run.
>

Try "Quit LabView.vi". It's located under Application Control.

This vi quits the runtime engine of the LabView exe.

Good luck,
Andreas
0 Kudos
Message 2 of 3
(3,138 Views)
Hello Anthony,

> Whenever i had finished running the program (exe), the front panel is
> still there. I have to click on the x box on the right top corner of
the
> window
> of the panel to manually close it. How can i close it automaticcally ?

Try opening a VI Reference (Application Control->Open Vi Reference),
connecting it to a Property Node (Application Control->Property Node)
and choose the item Front-Panel-Window->Open. If you wire a false to it,
the Vi referenced by "Open Vi Reference" will be closed, otherwise it
will be opened.

Bye, Alexander


Sent via Deja.com http://www.deja.com/
Before you buy.
Message 3 of 3
(3,138 Views)