I am using Labview 8.2
The "Find Object.vi" function is causing me some problems as it is closing the reference to the Scene Object passed into it when that Scene object does not contain any child objects. The attached screengrab shows the relevant part of the "Find Object.vi" function - the input (parent) reference is added to the front of the queue, and if the "ObjectCount" method returns 0, then the reference is closed (and hence unavailable from that point on. By removing the "Close Reference" function, the reference remains valid, but I am unsure of what other consequences this would have (and I don't like editing NI VI's!).
I have attached an example VI to illustrate this, hopefully it is clear enough what is happening. Basically, I want to be able to check for the existence of a child object without risking losing the parent object's reference. I could always write my own but perhaps the "Find Object.vi" function is incorrect?