NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Modify the default report

Hello,

We have switch to TestStand 2 and I now the limits in the report (txt format) are :
Limits:
Low: 49.25
High: 50.25
I would like to go back to the old format:
High Limit: 50.25
Low Limit: 49.25

What is the simpliest way to do that?

Thanks,
Yannick
0 Kudos
Message 1 of 2
(2,873 Views)
Hello,

Here is a solution that will work very easily without having to modify the modelsupport2.dll. Basically we will modify the resource string file and then search the report text for the word limits and delete it. Here is what you need to do:

1. Open the file \Components\User\Language\English\TestStandStrings.ini inside of Notepad, or some other text file viewer.
2. Search for "RPT_FLAGGED_NAME" . Below this category name you should find an entry LOW = "Low" and HIGH = "High".
3. Change the strings in quotes to be "Low Limits" and "High Limits".
4. Open the file \Components\User\Models\TestStandModels\reportgen_txt.seq and select the seqence PutOneResultInReport from the view ring.
5. Add a statement step after the
step "Add Flagged Values".
6. Edit the expression to be the following:

SearchAndReplace( Locals.ReportEntry, Parameters.DetailsIndentation +"Limits:\n","",0,false,-1 )

7. Save all changes.

This should fix your problem.
0 Kudos
Message 2 of 2
(2,873 Views)