NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Replace standard fail popup with a custom one

Dear all,

 

I want to know if it's possible to replace the FAIL popup with a custom one.

I want to do this because at a FAIL I also want to display what the tester can do to solve the problem.

 

gr,

Bart

0 Kudos
Message 1 of 5
(3,765 Views)

Its possible by overriding the POST UUT call back sequence ( refer help document for overriding callbacks).

When you override the post uut there will be no popup.In the over ridden post uut call back sequence you can either call a custom vi\dll or even use a message popup to display.

 

Also refer to the parameters of the overridden post uut callback to get the pass fail status.

Hope this helps.

0 Kudos
Message 2 of 5
(3,760 Views)

Ok think that will work, does teststand give an unique ID at each step, this must be the same even if test steps are added.

 

I know each step has an ID but I want to know in the POSTUUT which step last failed without adding too must to each post.

Also is there a callback when the test breaks because of a fail?

0 Kudos
Message 3 of 5
(3,747 Views)

Please have a look at this example :

TestStand xxxx\Examples\Callbacks\PostStepFailureCallback

 

This gives an idea of using SequenceFilePostStepFailure - this callback is called whenever a step fails ( i.e. status of that step is "Failed"). 

Message 4 of 5
(3,739 Views)

Ah thank you, that's the info I wanted!

0 Kudos
Message 5 of 5
(3,735 Views)