03-24-2025 11:04 AM
This code (usually) gets stuck at the first property node. I can't figure out why; it's just supposed to return a reference to the owning library (and it does actually have an owning library).
03-24-2025 12:31 PM
I have never seen this happen so I have no direct ideas other than "maybe there's something weird or corrupt about this particular library", so... questions.
Have you tried this on multiple libraries or just one?
Does it work if you call this from a VI not in the library after being passed a reference to this VI that is in the library?
If you try to open the library independently, via the "Library.Open" Application invoke node, does that work?
03-24-2025 01:02 PM
I've got some additional information:
At this point, my best guess is that on the initial call to the configuration VI, not everything is really ready in the instance of the Express VI (however adding a long delay doesn't help).
03-24-2025 01:38 PM
@Kyle97330 wrote:
I have never seen this happen so I have no direct ideas other than "maybe there's something weird or corrupt about this particular library", so... questions.
Have you tried this on multiple libraries or just one?
So far just this one.
Does it work if you call this from a VI not in the library after being passed a reference to this VI that is in the library?
What?
If you try to open the library independently, via the "Library.Open" Application invoke node, does that work?
Nope. It gets stuck at Library Open.
03-24-2025 02:12 PM
@paul_a_cardinale wrote:
Does it work if you call this from a VI not in the library after being passed a reference to this VI that is in the library?What?
The property node in question has no reference input, so it operates on "This VI", i.e. itself. Equivalent to this:
I have observed that sometimes operations that operate on "self" do not work, but when done from outside of "self" they do, like if you did it like this:
However, now that you have made your additional post with more information, I see that it's from an Express VI.
I would venture that is more likely to be the cause. I don't know exactly what goes on "under the hood" of the whole Express VI mechanism, but I know that they are instance VIs, meaning that they essentially are a VI embedded inside another VI, and it could be that during the initial configuration the library status of them is not fully defined yet so it hangs.