LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Property Node Gets Stuck

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).

lp.png

0 Kudos
Message 1 of 5
(174 Views)

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?

0 Kudos
Message 2 of 5
(152 Views)

I've got some additional information:

  • The code is called from the configuration VI of an Express VI.
  • Upon initial configuration (when the Express VI is dropped on a BD), the code always gets stuck.
  • On subsequent configuration calls (i.e. double-clicking on an instance of the Express VI), the code works OK.
  • The code is a dependency of both the configuration VI and the Express VI.

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).

 

0 Kudos
Message 3 of 5
(140 Views)

@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.

0 Kudos
Message 4 of 5
(127 Views)

@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?

 


 


 

Kyle97330_1-1742842969694.png

The property node in question has no reference input, so it operates on "This VI", i.e. itself.  Equivalent to this:

Kyle97330_2-1742843069604.png

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:

Kyle97330_3-1742843243684.png

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.

0 Kudos
Message 5 of 5
(115 Views)