NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Error Handler Engine Callback Problems

I am trying to develop a custom run time error handler for our TestStand Test System.   I am playing with the SequenceFilePostStepRuntimeError engine callback and my handler works fine when in the Client Sequence file.  However I need my handler to work across all of my client sequence files. 
 
If I move my SequenceFilePostStepRuntimeError callback from the client sequence file to the Process Model (which is the same for all client sequence files) the callback doesn't fire when a run time error is generated by a client sequence file. (Presumably it would be called if the Process Model generated a run time Error).
 
Is it possible to define a single sequence that is called for all run time errors in the system?  If so how?
 
Regards
 
Steve
There are 10 types of people in the world that understand binary, those that do and those that don't.
0 Kudos
Message 1 of 3
(3,086 Views)
Hey Steve,
 
You're completely on the right track.  The only trick is that you have to use the ProcessModelPostStepRuntimeError callback in you process model as opposed to the SequenceFilePostStepRuntimeError to get the behavior that you are looking for.  Let me know how it goes.  Have a good one.
 
Adam
Message 2 of 3
(3,082 Views)

Yep that's all good

Cheers

Steve

There are 10 types of people in the world that understand binary, those that do and those that don't.
0 Kudos
Message 3 of 3
(3,068 Views)