From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I close the window on end of execution

I have a subVI that I call to scan incoming data. When I stop scanning,
I want the window to close and return to the front panel of the calling
VI. Can someone help me please?
Thanks in advance!
Dave
0 Kudos
Message 1 of 3
(2,580 Views)
"Dave G" wrote:
>>I have a subVI that I call to scan incoming data. When I stop scanning,
>I want the window to close and return to the front panel of the calling
>VI. Can someone help me please?>Thanks in advance!>Dave
0 Kudos
Message 2 of 3
(2,580 Views)
Dave,
If I get it correctly all you need to do is to follow steps below to get
rid of VI front panel after execution.
*-ON the Front Pannel go to VI Icon and right click.
* Select VI Setup.
* Select Execution Options
* click on Show front pannel when called
* click on close afterwards if originally closed.
Make sure to save your vi with some other name and try on it.

Rgds,

Hasan

"Dave G" wrote:
>>I have a subVI that I call to scan incoming data. When I stop scanning,
>I want the window to close and return to the front panel of the calling
>VI. Can someone help me please?>Thanks in advance!>Dave
0 Kudos
Message 3 of 3
(2,579 Views)