LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
jyang72211

Close reference simplify

Status: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

Closing reference nodes take up too much space on the block diagram.  It would be nice if there is an option called "close reference when Vi complete", and that option is available fro all referene individually on the block diagram.  When the option is selected for a particular reference, the reference would close when the subvi is done executing, and there would be a star next to the reference name indicating that the reference will close automatically.  

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
2 Comments
tst
Knight of NI Knight of NI
Knight of NI
  1. LV already does automatic management on some of the references. For example, you don't need to close a static reference to a control (and it won't do anything if you do).
  2. LV already closes the references when the hierarchy goes idle (which, if your hierarchy is static, would only be at the end of the program).
  3. How would you mark specific references to be closed? Wouldn't that take up as much space as closing them? Or are you suggesting that should be a configuration option on the node where the reference is created? Is that what you mean by the reference name?
  4. You can build the references into an array and wire that into a single close primitive. I'm not sure if that will help with your space issue.
  5. Generally, I don't have much code which closes reference. Unless I'm dealing with something like .NET, where I have to control this myself anyway. Can you provide an example of where you do run into this, ideally with an image?

___________________
Try to take over the world!
Darren
Proven Zealot
Status changed to: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined.