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.
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.
05-16-2012 03:57 PM
05-16-2012 04:08 PM
Is auto-dispose references enabled?
05-16-2012 04:26 PM
The ones you open that aren't automatically closed.
Next question!
05-16-2012 04:34 PM
Did you search this forum at all before posting? See, among the many threads on this topic, "Which references need to be closed?" The thread is a few years old but the information hasn't changed.
05-16-2012 05:06 PM
With over 400 posts, you can find this information out yourself.
05-16-2012 06:36 PM
Nathand
Did you search this forum at all before posting ?
... "Which references need to be closed?" The thread is a few years old but the information hasn't changed.
This thread talks about that for LV 7.1, nothing about LV 2011
and this thread dates back to 2006 !
I read this article carefully, sorry but It seems that nobody knows the real answer to this question
MoReese
With over 400 posts, you can find this information out yourself
Some say this, others say the opposite, I have not found real answers and no clear rules.
Everyone has his own idea, but nobody seems to know the truth about it.
(sorry for my bad english, i do my best)
05-16-2012 06:48 PM
The simplest rule is close all references. It may not be necessary but it won't hurt.
If you really want to avoid closing references unnecessarily, the ones you do not need to close are the ones that remain the same regardless of how many times you open and close them while the VI is open, such as a reference to a front-panel control. These are references that you open implicitly, and refer to items within the LabVIEW environment. Any reference that you open explicitly - such as files and TCP connections - should be closed. ALL external component references such as ActiveX and .NET need to be closed, whether opened explicitly or returned as outputs from invoke or property nodes. This is exactly the same information provided in multiple threads on this topic.
05-16-2012 07:09 PM
Your explanation is clearer than anything I've read on this topic, really.
one rule, clear, concise and accurate ... I understood.
Thank you nathand
05-16-2012 09:23 PM
@ouadji wrote:
Nathand
Did you search this forum at all before posting ?
... "Which references need to be closed?" The thread is a few years old but the information hasn't changed.
This thread talks about that for LV 7.1, nothing about LV 2011
and this thread dates back to 2006 !I read this article carefully, sorry but It seems that nobody knows the real answer to this question
MoReese
With over 400 posts, you can find this information out yourself
Some say this, others say the opposite, I have not found real answers and no clear rules.
Everyone has his own idea, but nobody seems to know the truth about it.
(sorry for my bad english, i do my best)
I actually only found 200, but the answer can be found on the first page of results. nrp provided essentially the same answer as nathan in this response: http://forums.ni.com/t5/LabVIEW/Do-I-have-to-close-all-my-references/m-p/1218470#M520150
05-17-2012 12:07 AM
@smercurio_fc wrote:
I actually only found 200, but the answer can be found on the first page of results. nrp provided essentially the same answer as nathan in this response: http://forums.ni.com/t5/LabVIEW/Do-I-have-to-close-all-my-references/m-p/1218470#M520150
I think he was referring to the poster of the question having posted over 400 messages, suggesting they're not new to this forum.