LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView. Report

I need to know how can to insert the date and the serial number in the report at the end of each measure.In this moment The date and the serial number is only at the begin of the report. Thank you.
0 Kudos
Message 1 of 6
(3,254 Views)
What report are you refering to? What is generating it? If it's a VI, please give the name of the VI. If it's a VI that you or someone else wrote and not an NI example, attach it so someone can look at it.
0 Kudos
Message 2 of 6
(3,254 Views)
I am very sorry for my imprecision. i am speaking about automatic Report where Results are stored under Test Stand.If you need I can to insert a attachment for a example. thank you very much.
0 Kudos
Message 3 of 6
(3,254 Views)
Okay, I understand now. The report generation in TestStand has nothing to do with LabVIEW. The reports are generated in either reportgen_html.seq or reportgen_txt.seq. Do you want to append the serial number and date at the very end of the report or with each step result?

p.s. There is a discussion forum just for TestStand that you would be better off posting to especially since your question does not involve LabVIEW. Go here and click the TestStand link.
0 Kudos
Message 4 of 6
(3,254 Views)
You understood well, I would like to append the serial number and date at the end of each step result. Is it possible? Thank you very much.
0 Kudos
Message 5 of 6
(3,254 Views)
It is possible. You'll have to modify your process model a little and the report generation sequence. Your process model should have a sequence called TestReport. In there, you'll see a sequence call with the name of Get Report Body. It is already being passed the UUT container which contains the serial number. You'll have to modify the called sequence (i.e. "AddReportBody" of ReportGen_HTML.seq) and add the Date container as a parameter to be passed. You can just copy the container from the AddReportBody sequence. In the ReportGen_xxx.seq, you'll also want to add the Date container to the parameters of AddSequenceResultToReport, PutResultsInReport, and PutOneResultInReport. It is in PutOneResultInReport that the actual st
ep results are added to the report. You would add the additional information where you want it to appear in the report. For example, to add the serial number right after the result, add a statement step after the step called Add Report Text. The actual syntax is going to depend on whether you're modify the HTML or text report but you would be appending Parameters.UUT.SerialNumber. Look at the other steps in the dequence to see how things like color and font size are handled in HTML reports.
0 Kudos
Message 6 of 6
(3,254 Views)