12-02-2011 07:10 AM
Hello,
I am trying to exit a script when a certain condition is met.
So
IF Var1 = "Exit"
Quit()
Else
Keep Running.
I guess I would be looking to something similar to a Kill function which when called would terminate the current script and any other script which was call the current process.
Any Ideas?
12-05-2011 04:15 AM
Not sure if this function is still available but how about trying AutoQuit
12-06-2011 02:39 PM
Hi Guys,
AutoQuit(Msg) is still available, though it no longer shows up red in the SCRIPT editor since about DIAdem 11. It's not ideal for function libraries or user commands or any code that goes behind a custom icon or menu in the DIAdem environment.
But I still use it all the time,
Brad Turpin
DIAdem Product Support Engineer
National Instruments