Hello,
While trying to figure out how to Save Current Values as Default of the VI that is being called form the TestStand, I've run into a bit of a problem:
I have a Primary VI, here it is, fairly simple for testing:
It is being called from the 'Wrapper' vi, so I can call on the method while original vi in editing mode:
When Wrapper called from LabView, it works as expected: loads the 'Primary' vi, waits for it to finish then saves the current values of the controls as default.
When Wrapper called form TestStand, it loads and runs the Primary vi, then when it's Stop button is pressed, the Wrapper disappears, leaving the Primary vi loaded e.g. the window stays open. Apparently the Wrapper crashes on "Default Vals.Make Curr Default" call and leaves me with this message:
Even more strange, but, perhaps not relevant at a moment, if I ignore (clear) that error and run the Save.Instrument I get this:
Huh? Runs fine when ran from LabView...
Anyway, if anyone knows how to fix it or at least what that all means, I'd greatly appreciate the help.
Thank you.