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,636 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,285 Views)