From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Change the RunState.Execution.Result.Status

Hi all,

 

In my sequence I use the  "SequenceFilePostStepFailure" & "SequenceFilePostStepRuntimeError"

 

Now in these Callbacks I ask the operator whether he has to end the test ? 

 

If YES!  then   I call   RunState.Execution.Terminate(),

 

this makes the Parameters.Result.Status = Terminated  (in  PostUUT)

 

But I would like to show the actual  Status that could be "Error" Or "Failed"

 

So I store this in RunState.Execution.Result.Status Temporarily  & then later  in PostUUT Update Parameters.Result.Status

 

I  can also store this in some FileGlobal but still the question can I use the "RunState.Execution.Result.Status"?

 

 

0 Kudos
Message 1 of 2
(4,634 Views)

Hi aparab!

In the following properties of ResultStatus are no hints for manipulating the ResultStatus.

ResultStatus Property - NI TestStand™ 4.2 Help - National Instruments
But maybe the following example may help you:
Overriding SequenceFilePostStepRuntimeError Callback.seq
This example use the Parameters.Step.Result.Status.

0 Kudos
Message 2 of 2
(4,283 Views)