NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Include user entered text in Report

I need to include in each report a text entry showing the serial number and calibration due date of all of the instruments used within a sequence.  To generate the text I have a set of VI's which return the required information from the instruments used and a file containing the calibration due dates.
 
This information is not validated and consequently there is no step type which allows for the inclusion of the data returned into the report.
 
Is there any way of creating a step or step type which will allow for the inclusion of the required data?
0 Kudos
Message 1 of 6
(3,650 Views)

Hi,

You could use the Callback sequence ModifyReportHeader which will allow you to add your data to the Header text.

There are similar callbacks for the Report body and the Report Footer.

Check out the User Manual, I believe there is a tutorial on modifying the Report.

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 2 of 6
(3,646 Views)
Do have an example of this as I don't know how to convert the required text into the format required to add information to the header using the suggested callbacks.
0 Kudos
Message 3 of 6
(3,639 Views)
Hi,
 
What format is your report in?
 
Regards
Ray
Regards
Ray Farmer
0 Kudos
Message 4 of 6
(3,634 Views)
If you just want to put some text in the report, you can drop an Action step that calls your VI to get the text and store the returned string in:
 
Step.Result.ReportText

Message Edited by James Grey on 09-13-2007 10:24 AM

0 Kudos
Message 5 of 6
(3,628 Views)
The report format is XML.
0 Kudos
Message 6 of 6
(3,610 Views)