NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

ReportEntry Text Format

Question No 1.
Is there any documentation available on the ReportEntry Text Format . Lets say for the Numeric tests I see some entry like this  
Limits:
Low: 49.25
High: 50.25
~
How would it look like for other type of test steps ?
 
I want to change them to another format in the ModifyReport Callback and the parsing function(s) needs to know what text will be sent to it by TS.
I am using Testand3.0.
 
Question No 2.
Also this new format has to be generated along with the existing one. Do I have to write a custom routine that creates a file and appends all these entries to this file and then closes this file some where in the ssequence file?
Like I said I still need the existing report format also as the operators have got used to looking at it . The new extra format is to fecilitate some other automation tool to collect these reports data automatically.I already have the ModifyReport used once, so do I just copy some of the test report generation steps to generate another report - what's the best of doing please sugggest.
 
Thanks
Sumit
0 Kudos
Message 1 of 2
(2,799 Views)

Hi

The TestReport callback in the ProcessModel for your sequence file is where the ResultsList returned from your sequence file is processed into the format that is seen in the results file.  You can choose to override this callback in your sequence file or modify it directly in the process model.  If you want the same modifications to appear in the test report for multiple different sequence files I suggest you modify the ProcessModel directly.

NOTE.  Be sure to copy the NI ProcessModel you are using to your User directory before commencing your edits.

Question 1

One way to get the test report format is create a dummy sequence and run it, this will be useful later when you are testing your modifications.

You can also modify the results format from Configure->Report Options in the sequence editor.

Question 2

If you want to maintain the old report you will have to create new steps to process the ResultsList to create, populate and save your new format.  Take a look at how the existing steps manipulate the results data, these will get you thinking about what is required.

Regards

Steve

 

There are 10 types of people in the world that understand binary, those that do and those that don't.
0 Kudos
Message 2 of 2
(2,787 Views)