NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Run Time Errors (Don't show this dialog again...)

We often create some long TestStand (TS 4.0) sequences and run them overnight or weekend.  Occasionally, for one reason or another, we may see the "Run Time Error" messagebox pop up, stopping the test sequence.
 
If you then select the checkbox in the Run Time Error window "Don't show this dialog again for this execution", the sequence will continue.
 
Is there a way to set up TestStand to ALWAYS ignore the Run Time Errors and just generate a failure error instead?
     Setup for TestStand as a confuguration?
or
     Setup as a command in our Custom Steps?
 
Mikef
0 Kudos
Message 1 of 3
(3,492 Views)

Hi Mikef,

One solution would be to use the SequenceFilePostStepRuntimeError callback sequence. Have a look at the example ErrorHandlerExample.seq in the TestStand\Examples\Callbacks\PostStepRuntimeErrorCallback folder.

Obviously you wont what a dialog to appear, but using the callback, you can reset the Step.Result.Error, maybe set the status and record that an error did occur in the Steps ReportText.

Hope this helps.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,484 Views)
If you would rather make a more global change, you can go to Configure>>StationOptions and choose the Execution tab.  At the bottom there is an item named "On Runtime Error:". 
If you choose to not show the dialog, you could instead ignore all errors, or go directly to the Cleanup step group.
 
This information, once set, is stored in TestExec.ini and will be global, affecting all executions on that station.
Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 3 of 3
(3,462 Views)