NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Report modify

Hello,

I want to modify the TestStad report.
I'm using Teststand 3.1.

I want to change the header and to add another Serial number for each UUT.
Thanks
Elad
0 Kudos
Message 1 of 7
(5,010 Views)
Hi,

Test Stand allows to customize various callbacks which it calls during the excution.
You can overwrite these by adding your own code after adding these callbacks:-

Under Edit menu option last item is for sequence file callbacks, here you will get all the callbacks which can be overwritten. Add a ModifyReportHeader Callback and write your custom code there. After adding any callbacks you will have one more sequnce apart from your main sequence(Check All Sequence option).

Regards,
Anuradha
0 Kudos
Message 2 of 7
(5,001 Views)
Hello,

Can anyone explain me how to modify the Report content format. I would like the have the report in my own format rather than the Format specified by TS.

If anyone has tried this out before. Please share your thoughts.

rgds,
Bharat
0 Kudos
Message 3 of 7
(4,948 Views)
Bharat,

There are multiple answers to your question and it mostly depends on what exactly it is you want to change and what type of format you are using. As said previously in this thread, you can change a lot of items simply using callbacks. If you go to Edit >> Sequence File Callbacks, then you can override ModifyReportHeader, ModifyReportEntry, and ModifyReportFooter. Each one of these callbacks will get a parameter with all of the code for its particular section. You can modify this code (The code will be determined by the report options: xml, html, or txt) using the string manipulation functions that can be found in the expression browser.

If you are using XML and want to change the way the data is being displayed, then you can either create a new style sheet or modify an existing NI one. There are the .XSL files, and TestStand ships with a horizontal, report, and expand .XSL files which present the same information in different formats.

This should get you going in the right direction, but if you have additional questions, please feel free to repost and we will go from there. Thanks and have a good one.

Adam B.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 7
(4,923 Views)

Hello,

 

I am using my own XSL transformations to generate the report as I need.

Therefore I set the StylesheetPath property accordingly.

It works as expected.

 

My question is.

Is there any way of specifying parameters to the XSLT style sheet?

 

Thank you in advance,

Iulian Macovei

Software Engineer 

devolo AG

0 Kudos
Message 5 of 7
(4,279 Views)

I modified my html report format completly.

 

These are some good links to understand report generation and modification:

http://zone.ni.com/devzone/cda/tut/p/id/3977
http://zone.ni.com/devzone/cda/tut/p/id/4428
http://digital.ni.com/public.nsf/allkb/D98A271E30431C9D86256C230079843A

0 Kudos
Message 6 of 7
(4,259 Views)

Thank you for the links.

 

Unfortunatelly none of them answer my question.

 

We can use inside xsl transformations parameters like "xsl:param".

I would like to know if is there any way of specifying these parameters from Teststand.

 

Regards,

Iulian Macovei

0 Kudos
Message 7 of 7
(4,206 Views)