LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

close slowly for front panel

I used the close panel invoke node to exit a built application.

But I found the closing is slow a little bit.

I can observe two icons in stopping the application.

Can you tell me how to avoid this slow speed of closing FP?

 

(Quit Labview.vi also shows the same speed with closing FP)

 

0 Kudos
Message 1 of 23
(3,677 Views)

Do you have any other part of the code still running after you close your FP? The tray icon will still show until all code has finished executing even if your interface VI has closed.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 2 of 23
(3,662 Views)

You do open a new VI ref just to close it's front panel down, that seems quite unnecessary.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 23
(3,626 Views)

Thanks, James.Morriƽ 

 

The closing part is the last code (after killing some queues) in my block diagram.

Do you have no any other delay  I saw?

0 Kudos
Message 4 of 23
(3,587 Views)

Thanks, Yamaeda.

 

How did you kill the application without quit labview.vi or new VI ref? 

0 Kudos
Message 5 of 23
(3,583 Views)

You don't actually have to wire references into the App.Kind or the VI.FP.Close Nodes.

0 Kudos
Message 6 of 23
(3,571 Views)

Untitled.png

 

George Zou
0 Kudos
Message 7 of 23
(3,568 Views)

@zou wrote:

Untitled.png

 


You don't even need the App Kind property node...


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 8 of 23
(3,541 Views)

labmaster wrote:

How did you kill the application without quit labview.vi or new VI ref? 


You don't kill it.  You make it so that all VIs complete and you close all front panels that were opened.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 9 of 23
(3,536 Views)

crossrulz,

 

so, is it natural to shut down slowly or is there any other way to shut down?

 

0 Kudos
Message 10 of 23
(3,498 Views)