LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Global Reference Issue when Run VI Method Used

I keep getting error 1055 from the property node after the global variable in the  attached.  I think that I tracked this down to an issue with the Run VI method that I'm using, but I can't seem to get it fixed.  I thought it was due to the Auto Dispose Ref being in the true state, but that is not the problem, the error happens in both states.  Occasionally, I don't get the error, but I haven't been able to figure out why?

 

Open the "Call and Run.vi" below and chose the "Global State.vi" as the vi path to open and run.  If you don't get the error the first time, try closing the "Global State.vi" and run the "Call and Run.vi" again.

0 Kudos
Message 1 of 2
(2,679 Views)

The error message is telling you exactly what the problem is: You are trying to set a property for an invalid reference. To see where, change the window state of the VI you are running to minimized, turn on execution highlighting and run the VI. Note particularly where the error is coming from. When you see where it's coming from say to yourself:

"Self, where is the reference that I am trying to use coming from? And (far more importantly) where am I initializing it?"

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,665 Views)