ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
08-25-2006 12:03 PM
08-25-2006 02:36 PM
Hi,
You can not use the Terminate methods as it will just shut the executions.
What you can do is modify some properties so that the next step that's executed is the end of the cleanup, ie
RunState.PreviousStepIndex = GetNumElements( RunState.Sequence.Cleanup)-1,RunState.StepIndex =-1,
RunState.NextStepIndex = -1,
RunState.StepGroup= "Cleanup"
Hope this helps
Regards
Ray Farmer
08-25-2006 02:55 PM
Hi,
Attached is a small example. the Label in the Cleanup is jumped over, if its not it will generate some text in the result file.
Regards
Ray Farmer
08-28-2006 01:16 PM