11-15-2015 11:25 PM - edited 11-15-2015 11:28 PM
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)
11-15-2015 11:36 PM
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> ---'
11-16-2015 03:15 AM
You do open a new VI ref just to close it's front panel down, that seems quite unnecessary.
/Y
11-16-2015 09:03 AM
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?
11-16-2015 09:04 AM
Thanks, Yamaeda.
How did you kill the application without quit labview.vi or new VI ref?
11-16-2015 09:15 AM
You don't actually have to wire references into the App.Kind or the VI.FP.Close Nodes.
11-16-2015 09:18 AM
11-16-2015 10:40 AM - edited 11-16-2015 10:41 AM
@zou wrote:
You don't even need the App Kind property node...
11-16-2015 10:42 AM
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.
11-16-2015 05:36 PM
crossrulz,
so, is it natural to shut down slowly or is there any other way to shut down?