05-25-2012 03:21 AM
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
Solved! Go to Solution.
05-25-2012 03:22 AM
Should probably have mentioned I am using Teststand 2010 ![]()
05-25-2012 05:19 AM
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.
05-25-2012 05:50 AM
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