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: 

Setting the Runstate.Execution.ResultStatus to EndExecutionEvent

Hello,

 

I'm trying to set the Runstate.Execution.ResultStatus to a custom string value in my execution so that I can catch it in a _EndExecutionEventHandler callback (in my .NET application).

The setting seems done correctly but the event argument received (EndExecutionEvent) does not contain my custom status.

The ProcessModel does not contain any reference to ResultStatus so I guess it does not affect its value ?

 

How and when is the variable Runstate.Execution.ResultStatus set ?

 

Thank you !

0 Kudos
Message 1 of 1
(1,910 Views)