Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Saving VIs Current Values as Default when called from TestStand

$
0
0

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:

SaveCurrentValuesAsDefault.PNG

It is being called from the 'Wrapper' vi, so I can call on the method while original vi in editing mode:WrapperForSCVADdotvi.PNG

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: 

Error.PNG

Even more strange, but, perhaps not relevant at a moment, if I ignore (clear) that error and run the Save.Instrument I get this:

Error2.PNG

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.


Viewing all articles
Browse latest Browse all 6524

Trending Articles