NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom report generation

The program I'm working on has to create a test report. I use an Office-XP word document, provided by my client, as pattern for this report, in which strings, tables and graphs from my program are to be inserted.

My program is made using LabWindows/CVI 7.0. For the test process and report generation I plan to use TestStand 3.0.

My question now is, if and how it is possible, to realize such a custom report in TestStand 3.0?

(I've already learned that all TestStand sequences and process models can be modified to match my individual needs, but the steps in the report generation sequences are a bit cryptic and I can't find any manuals covering this topic in detail.)
0 Kudos
Message 1 of 2
(3,212 Views)
Hi,

There is no extra documentation detailing the breakdown of the TestStand report generation, other than the highlevel detail of the different callbacks for the Header, footer and body of the report as found in the Teststand manuals.

But, the flow the the report sequencefile is fairly straight forward, once you are familier to the component parts of the a step.

The easies way to help the understanding is to single step through an small example and watch some of the variables.
Where most of the work is done is the sequence PutOneResultInReport found in the sequencefile reportgen_[xml|html|txt].seq. (note there's a different report generation sequencefile for xml, html and txt.)

For simple modification to the report you make use of the Callback overrides and
there's one for the Header part, one for the Footer and another for the Body.

There is an example in the TS3.0 manual using the Header callback.

If you are making big changes to the report then you will need to change the actual report sequencefile.

Alternatively,
you could try Www.emodularsolutions.com, they have produced a Report Generation package called DocFlex.

Or
Log your results to a database and then use some external package to pull the information and package to a defined stlye sheet. I am sure there are software package that will do this.


Sorry that the answers are a bit general but I hope it gets you started.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 2
(3,212 Views)