NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand XSL Report adding table to header

Solved!
Go to solution

Hi

 

I am looking for some advice regarding teststands report generator. I would ideally like to use the horizontal XSL style sheet however I need an extra table in the header section. This header will contain information regarding the sub components used to create the UUT and information regarding the software versions that have been loaded. 

 

My question is do I have to create a new style sheet to add this table or is there another method to add these extra pieces of information.

 

Many Thanks

Dave. 

0 Kudos
Message 1 of 3
(3,197 Views)

I am currently having some success with editing the report style sheet, I am able to add the table (with formatting) and subheading etc. What I now want to do is to retrieve local variables from teststand and add them to the report. For example I store in teststand the UUT type and want to add this string to the report header.

 

I found the command to return the step count:

 

  <XSL:value-of select="@StepCount"/>

 

Does anyone of an equivalent command that can be used to return local varibles?

 

Many Thanks

Dave

 

0 Kudos
Message 2 of 3
(3,194 Views)
Solution
Accepted by topic author D.Barr

After a few hours of reading forums I founded a very useful post on the forums:

 

http://forums.ni.com/t5/NI-TestStand/stylesheet-array-syntax/m-p/1419186

 

By following D Biel 4th post and remembering to set the post expression i have been able to add extra table with information to the report header.

 

 

  

0 Kudos
Message 3 of 3
(3,165 Views)