NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Duplicate Report

Solved!
Go to solution

Hello,

 

One of my systems is using the default batch process model and is creating a new report for each uut. I am not using on the fly reporting, and for arguments sake I am using the standard XML generation with the horizontal.xsl stylesheet.

 

Each time I test a batch TS creates a .XML report for each tested UUT when execution completes.

 

I would like to then read the report in using a LabVIEW VI step, modify it, and save this copy down to a secondary location. Is anybody able to recommend a callback I can utilise for this? I am struggling to find a callback that executes after the original report has been saved that still has access to the report filepath for that socket.

 

Any alternative suggestions also welcome..

 

Thanks,

 

Steve

0 Kudos
Message 1 of 4
(3,536 Views)

Should probably have mentioned I am using Teststand 2010 Smiley Happy

0 Kudos
Message 2 of 4
(3,535 Views)
Solution
Accepted by topic author SteveBale

I have never used Batch Model, but I would take a look at the PostBatch Callback, there is also a BatchReport Callback, the process model calls it then reset a variable called Report. I guess it would be easy to use directly this variable to print your report in another location...(Locals.Report). But i guess your best call would be to take a deep look at the Batch process model (use breakpoints) then customize it.

Rodéric L
Certified LabVIEW Architect
Message 3 of 4
(3,530 Views)

Rodéric,

 

Both callbacks would perfect, as I am already overriding the PostBatch callback I can implement my additional report code here. Classic case of not seeing the wood for the trees.

 

Thankyou!

 

Steve

0 Kudos
Message 4 of 4
(3,527 Views)