NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding CSV report array to html report file

Hi,

I'm using "New CSV Output Stream" step to save some data into a csv file and display the data table in the report. The data table isn't displayed in the html report file when I access it outside the teststand. I'm wondering how could I attach the data table to the html report file that contains the whole report.

 

Regards

0 Kudos
Message 1 of 5
(1,199 Views)

Hi MarekJaniszewski,

If you want the data in the LV table to be formatted in an html table in your TestStand report the easiest way is probably to create an html string representing a table and assign it to the Step.Result.ReportText field.
I've attached a .seq and .vi file illustrating how to do this.

 

Regards)

________

Best way to thank is to give Kudos / Mark as a solution.

0 Kudos
Message 2 of 5
(1,161 Views)

Hi I.hovs

Thank you for your reply. I don't have a access to LV so I would like to know if I could do it using only teststand. After executing my sequence and using "New CSV Output Stream" I get the results table in a xml file and the report in html file. I want to add this results table from xml file to the raport in html using only teststand.

 

Regards

0 Kudos
Message 3 of 5
(1,140 Views)

Edit:

I mean I get the html file containig the report and teststand is displaying the resuts table based on the csv file data that it created, in active reports. I would like to append this table to the html report file.

 

Regards

0 Kudos
Message 4 of 5
(1,130 Views)

Hi MarekJaniszewski

There is an article about modifying a TestStand XML Report when you want to add custom data to my TestStand report header using the XML report format.

Try to go through this article to find the best way to do this. 

 


Regards)

________

Best wat to thank is to give Kudos / Mark as a solution. 

0 Kudos
Message 5 of 5
(1,115 Views)