NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run SequenceFilePostStepFailure model callback after step failing with nested sequence calls

Solved!
Go to solution

Hi,

 

I would like to pop up a message box immediately on any test failures.  I had thought I could use the SequenceFilePostStepFailure model callback to achieve this,but when I modify the process model callback to achieve this, I've found that the callback code is executed only for step failures of the top level sequence file.

 

My test code has mutiple sequence files being called before getting down to the granularity of the basic numeric limit test that will pass or fail, so I'd like to execute the SequenceFilePostStepFailure callback immediately at that level.  I can achieve this by adding a SequenceFilePostStepFailure callback override in the sequence file in question, but I'd prefer to use the default model callback implementation so I don't have to find all the places where numeric limit tests are executed and cause the DUT to pass/fail.

 

I've attached some example sequences that I hope illustrate the problem.

 

Thanks for the help,

Daniel

0 Kudos
Message 1 of 2
(3,666 Views)
Solution
Accepted by topic author daniel_vi
My fault, I see now that the model callback I should have modified is the ProcessModelPostStepFailure.  Problem solved.
0 Kudos
Message 2 of 2
(3,664 Views)