NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Post action Terminate doesn't work

Hi,
 
1)  Can somebody please explain the following:
 
I set a step of type NONE as follow:
 
in the pre expression I write ---  Step.Result.PassFail = False 'FAIL

In the post action I write --- On Fail - Terminate execution

 

Obviously the test fails but surprisingly it doesn't terminate.  Why is that?

 

2) I would like to show a message (upon pre-condition) and to terminate after it is displayed.  Is there a short way to do it (preferably in the same message step...)

 

Thanks

0 Kudos
Message 1 of 2
(3,297 Views)

Hi Rafi2003,

1) That should be working, as you expect.   What TestStand version are you using?

2) You could have you post action jump to a location, or call a sequence with you message and then have the post action of the message step do the terminate.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 2
(3,292 Views)