10-16-2023 06:26 PM
If you have this:
And you press Ctrl-B, you get this:
But if instead if pressing Ctrl-B, you execute , you get this:
Gaaa! I need to remove all broken wires (not just "loose" wires), but apparently such a method doesn't exist.
Solved! Go to Solution.
10-17-2023 05:55 AM
10-17-2023 10:59 AM
Be careful though.
If you use OwningVI to get from your diagram to a VI reference, you must close this VI reference!
OwningVI will create a new reference, and it will leak if you don't close it. It will as always close when the top level VI stops...
10-17-2023 12:11 PM
wiebe@CARYA wrote:
Be careful though.
If you use OwningVI to get from your diagram to a VI reference, you must close this VI reference!
OwningVI will create a new reference, and it will leak if you don't close it. It will as always close when the top level VI stops...
I think the same is true for a reference to any object other than a GObject.
10-18-2023 02:47 AM
@paul_a_cardinale wrote:
wiebe@CARYA wrote:
Be careful though.
If you use OwningVI to get from your diagram to a VI reference, you must close this VI reference!
OwningVI will create a new reference, and it will leak if you don't close it. It will as always close when the top level VI stops...
I think the same is true for a reference to any object other than a GObject.
Could be. But in the GObject hierarchy, there aren't that many (if any?) other than the OwningVI.
OwningVI seems especially easy to overlook. Maybe because it's the property of a GObject, and GObjects don't need to be closed.
10-18-2023 03:26 AM
@paul_a_cardinale wrote:
I think the same is true for a reference to any object other than a GObject.
I would rather say any object other than a Generic.
10-18-2023 04:24 AM
@raphschru wrote:
@paul_a_cardinale wrote:
I think the same is true for a reference to any object other than a GObject.I would rather say any object other than a Generic.
Even if the object is an integer? Close the integer?
10-18-2023 08:04 AM - edited 10-18-2023 08:07 AM
wiebe@CARYA wrote:
@raphschru wrote:
@paul_a_cardinale wrote:
I think the same is true for a reference to any object other than a GObject.I would rather say any object other than a Generic.
Even if the object is an integer? Close the integer?
Well, we were implicitly talking about VI Server references of course.
So any VI Server reference which does not belong to the Generic hierarchy must be closed.
References that belong to the Generic hierarchy do not need to be closed.
10-18-2023 08:31 AM
@raphschru wrote:
wiebe@CARYA wrote:
@raphschru wrote:
@paul_a_cardinale wrote:
I think the same is true for a reference to any object other than a GObject.I would rather say any object other than a Generic.
Even if the object is an integer? Close the integer?
Well, we were implicitly talking about VI Server references of course.
So any VI Server reference which does not belong to the Generic hierarchy must be closed.
References that belong to the Generic hierarchy do not need to be closed.
But then it's just what Paul said?
@paul_a_cardinale wrote:
I think the same is true for a reference to any object other than a GObject.
10-18-2023 08:50 AM