Add Additional Results to TestStand Simple Text Report

Updated May 18, 2023

Environment

Software

  • TestStand

The Simple Text Report plugin can be used to generate text reports. In short, it is a report format for TestStand Sequences. It may be implemented using LabVIEW, LabWindows/CVI, or Microsoft Visual C#.
This KB guides how to add Additional Results of each step to the Simple Text Report .

  1. Open the sequence file you want to create a Simple Text Report.
  2. Go to Configure>>Result Processing and check that Simple Text Report is enabled.          
  3. Select the step you want to add Additional Results to, and go to Properties>>Additional Results.
  4. Click the Add Custom Result                              
  5. Input Str("Measurement") for Name and Str(Step.Result.Numeric) for Value to Log.          
  6. Open <TestStand Public>\Components\Models\ModelPlugins\NI_SimpleTextReport_LabVIEW.seq
  7. Select Model Plugin-Initialize from the Sequences list.
  8. In Variables, right-click Locals>>ReportColumns and then click Insert Element to add an element.     
  9. Enter Measurements for DisplayName and AdditionalResults["Measurement"] for Key.      
  10. Save NI_SimpleTextReport_LabVIEW.seq
  11. Go back to your sequence file, test it, and check the report.
Note:
  • If you would like to add the Additional Results for other purpose, the Name provided in Step 5 must tally with the Key in Step 9. For example, Name in Additional Results is given as Str("StationGlobals"), then the Key in ReportColumns element must be AdditionalResults["StationGlobals"].

A new column is created as below, and Additional Results are added. You can add results by doing the same for each step.