06-29-2009 10:45 AM
Hi all,
I have modified the ProcessSetup callback in TS 4.0 to perform a preliminary hardware test before I test 8 UUTs using the Batch model. Since it's a callback, the results are not recorded by default, so I store them into a global array of results. Then, I copy this array of results into my MainSequence results array.
The problem is that this means these preliminary test results will be recorded for UUT0 (if I use "One thread only" synchronization") or for all UUTs (if I use the batch model synchronization). How can I add the results of my ProcessSetup test to the "Batch results" section of the results page instead of the "UUT Results" sections? The test is checking the shared hardware and therefore applies to all UUTs. I'd rather not have it repeated for each UUT or make it look like it only applies to the first UUT.
Thank you,
Chris
Solved! Go to Solution.
06-29-2009 05:12 PM
Forgot to mention I am generating an XML report.
-Thanks
06-30-2009
06:11 PM
- last edited on
11-06-2024
11:01 AM
by
Content Cleaner
Hi Tomahawk,
The ModifyReportHeader callback will allow you to add results to the report header without having to have a separate UUT. You can find more information regarding this and other reporting callbacks in the TestStand Manual. Let me know if you have any questions about overriding this callback!
07-01-2009
09:42 AM
- last edited on
11-06-2024
11:01 AM
by
Content Cleaner
Tomahawk,
Al is correct that if you were using HTML or ASCII report formats, you could override the ModifyReport... Callbacks to get what you want. Unfortunately, with XML Reporting, you can not use the ModifyReport... Callbacks. In order to accomplish the functionality you would like to see while continuing to use the XML report format, you will need to modify the BatchReport Callback as well as the XML style sheet that you are using.
In TestStand 4.2 we created tutorials and provided better documentation for our XML Style Sheets. With a little bit of effort, I'm confident that with TestStand 4.2 you would be able to achieve your goal.
I would suggest taking a look at the Customizing TestStand Style Sheets topic of the TestStand 4.2 Help (available online). Unfortunately, the TestStand 4.0 XML Style Sheets do not have the same quality of documentation as the TestStand 4.2 Style Sheets so you will not have commented sections in the 4.0 Style Sheets as the Help explains.
For this particular case, you would want to modify the BatchReport Callback to store the data that you want to place in your Batch Report section. Then, you would need to modify the Batch Report section of the XML Style Sheet with the appropriate XPath to display that data in the Batch Report.