LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subpanel: when to close reference?

Solved!
Go to solution

@thitchen007 wrote:

@JÞB wrote:

@thitchen007 wrote:

@JÞB wrote:

The "Best Practice" here is to set "AutoDispose" = TRUE and not to use the Close Ref at all.


The subvi's in the subpanel's will not stop by themselves, so it might not work here.

Thanks for the comment!


That's OK that the sub-vi closes whenever, AutoDispose handles that by closing the reference when it is no longer needed.  Really, Auto Dispose is a nice featureSmiley Wink


Ok, I'll try it out, thanks for the comment!


Spoiler
This "Best Practice" has even been known to show up on Certification examsSmiley Wink

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 11
(462 Views)