NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

New header rows in Horizontal report TestStand 2012

I need help getting additional information into the horizontal XML report.

Using: TS 2012, LV 2012, Windows 7

 

I don't know where to start... I've read through many if not all of the discussions and helps regarding adding new rows to the horizontal header.  Most discussions don't apply to the 2012+ way of using plug-ins. 

 

1. What callback in what sequence file needs to be modified?  ModifyReportHeader shows up in several places.  With the plug-ins I can't seem to find the correct location.

2. If I'm modifying a plug-in how do I pass my parameters to it?  I can't seem to get my parameters to NI_ReportGeneration.seq

3. How do you modify horizontal.xsl to display the new parameters in the header?  All the examples I find are for existing parameters and it doesn't seem to help.

 

Thank you,

0 Kudos
Message 1 of 4
(4,752 Views)

Hi,

 

I know you mentioned you had looked through many discussions previously, but have you taken a look at the following KnowledgeBase Article?

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGlBCAW&l=en-US

 

It goes step-by-step and explains the modifications you will need to make to change the XML report header.  This method should work fine with TestStand 2012 and 2013.  You might also want to take a look at the following example:

 

https://forums.ni.com/t5/Archive-TKB/Modify-XML-Report-in-Teststand/ta-p/3519154

 

 

 

Regards,

0 Kudos
Message 2 of 4
(4,669 Views)

I know it's been some time thank you for your patience.  We all get pulled away for different activities from time to time.

 

Let's focus on the first issue:

 

I have tried the knowledge base and in TS 2012 the horizontal.xsl stylesheet is very different and you can't add the code the same way. Or so it seems.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGlBCAW&l=en-US

 

I can't find any examples of how to modify the TS 2012 Horizontal.xsl stylesheet.

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

Hey Newb-D,

 

Have you had a chance to look through the Customizing Reports section of the TestStand Help? I found a few sections that might be relevant:

 

Adding Text to an ATML 6.0 or 5.0 Report Header

 

Adding Text to an XML Report Header

 

I'm hoping these will help you get started with the modifications you're wanting to perform, but if not, please let us know so we can help further!

0 Kudos
Message 4 of 4
(4,492 Views)