03-16-2020 03:41 PM
@RavensFan wrote:
It worked fine for me as is. Are you sure you needed to "manually" change first?
I see an issue with your VI. You are closing the references to the items in a random order. You should close the references in the reverse order you opened them. Also, only your last control is being closed because of the tunnel type (last element vs. indexing). But that said, it is not always necessary to close references.
One other suggestion. Index Array is expandable by dragging the bottom border. No need to copy it and split the array wire.
You never need to close a reference to a G Object. Calling closing ref on a G Object is just a NOP.
03-16-2020 06:40 PM
I did say it was not always necessary.
But is it okay to close the reference to the VI if you are not done working with the objects within it?
That seems like a bad idea to me.