From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Process Model Cleanup group doesn't run on Termination?

I'm using TestStand 1.0.3. I have a custom process model. I would like to
perform clean-up tasks in the process model if and when a user terminates
the execution of a sequence which uses this process model. However, it
appears that only the Cleanup step group of the client sequence get executed
upon a termination. The process model's Cleanup step group apparently only
gets called when execution ends "normally" (no termination). Does this
sound correct? How do I implement termination handling at the process model
level? I don't want to have to add code to (potentially dozens of) client
sequences.

Bob Rafuse
Etec Inc.
0 Kudos
Message 1 of 2
(3,391 Views)
> I'm using TestStand 1.0.3. I have a custom process model. I would like
to
> perform clean-up tasks in the process model if and when a user terminates
> the execution of a sequence which uses this process model. However, it
> appears that only the Cleanup step group of the client sequence get
executed
> upon a termination. The process model's Cleanup step group apparently
only
> gets called when execution ends "normally" (no termination). Does this
> sound correct? How do I implement termination handling at the process
model
> level? I don't want to have to add code to (potentially dozens of) client
> sequences.

Oops. Never mind. I thought "Allow Break While Terminating" was set, but
it wasn't. My bad.

Bob Rafuse.
0 Kudos
Message 2 of 2
(3,391 Views)