NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to execute C# code at the end of a run

I want to execute some C# code at the end of each run, just before the report is generated.

 

Does anyone know how to do this?

 

Best regards

0 Kudos
Message 1 of 2
(2,997 Views)

Hi,

 

I dont know what entry point you use (Test UUT's or Single Pass) but your options are:

 

Modify the Process Model to place the call to your code module just before the call to generate the report. You would have to modify either/or/both Test UUT's and Single Pass depending which one(s) you use.

 

If you dont want to modify the process model, then you could override the Test Report Callback sequence and put your code module in the Setup of this sequence.

 

Hope this helps

Regards

Ray Farmer

Regards
Ray Farmer
Message 2 of 2
(2,981 Views)