Dear LAVA folks,
I'm trying to set TestStand Cfg directory from LabVIEW. See attached file. This works fine only if I restart TestStand. I understand I only need to shutdown the Engine. My question is how can I restart the Engine without restarting everything? (there is no such thing as Start Engine method) Could a GetEngine method work? What would be the best way to accomplish this task? I don't want my customer to restart the software.
Thanks in advance.
Rodéric
Configuring TestStand Cfg directory
Started by
Roderic
, Jun 22 2011 03:36 PM
3 replies to this topic
#2
Posted 22 June 2011 - 03:52 PM
Hmmm - I've never come up against this before... I wonder if you call the IEngine.ShutDown method then the IEngine.GetEngine method? It seems a little unintuative, but the latter is a method and not a property, so it might start the engine if one doesn't already exist?

#3
Posted 22 June 2011 - 08:23 PM
I was guessing it may start the engine if you call the IEngine.GetEngine method.
Maybe there is another way to configure a test station for every program the station may have to run (with different fileglobals etc)?
Maybe there is another way to configure a test station for every program the station may have to run (with different fileglobals etc)?
CLA
#4
Posted 06 July 2011 - 03:12 PM
Problem solved by shuting down the engine, then restarting. Don't know if I did it the right way but it works!
it also seems like you have to close the Engine reference in every subVI , TestStand doesn't release the reference on his own every time (I got a popup error message)
BTW: starting the engine by calling the IEngine.GetEngine method doesn't work.
it also seems like you have to close the Engine reference in every subVI , TestStand doesn't release the reference on his own every time (I got a popup error message)
BTW: starting the engine by calling the IEngine.GetEngine method doesn't work.
Edited by Roderic, 06 July 2011 - 03:13 PM.
CLA












