01-29-2009 03:10 PM
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.
01-29-2009 08:16 PM
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...