LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

when do we close reference?

I am confuse as to when do we close reference in LabView. I tried to close the references that I have in one of my VI, but somehow the VI will not run altogether. So when is the right time to close a reference? Is it after we get done with a method or property or when when we are done with the whole class? Thanks.
0 Kudos
Message 1 of 5
(2,899 Views)
Check out this link. Read what Greg Mckaskle says.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000834C0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=closing+references&USEARCHCONTEXT_QUESTION_S=0
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 2 of 5
(2,899 Views)
analog;

Check the following article by Dr. VI:

Control References in LabVIEW 6.1 (and earlier): When Should I Close Them?

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 3 of 5
(2,900 Views)
did i need to close refernce that is generate from VI property node frome the upper left corner of the connector pane?
0 Kudos
Message 4 of 5
(2,876 Views)
Hi Yonatan. You don't need to close that reference, because you didn't explicitly open it. LV opens and closes these references automatically (I hope so, anyway. Otherwise, I'm in serious memory problems).

___________________
Try to take over the world!
0 Kudos
Message 5 of 5
(2,872 Views)