NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

customising .txt reports in teststand

You would use your LabVIEW program instead of Add Flagged Values. You might want your LabVIEW program to duplicate the functionality of the DLL. For example, with the reports options, you can select whether to report all results, only failures, etc. You'll also have to look at the step type in order to determine how to format it. For example, a Pass/Fail test does not have high and low limits so if you tried to get those parameters, you would get an error. You could, if you wanted to, do everything in TestStand instead of a LabVIEW program. for example, you could have a statement step called "Add Numeric Measurement". The expression would be something like "Locals.ReportEntry += Str(Parameters.Result.Numeric) + "\t"". and a precondition of Parameters.ReportOptions.IncludeMeasurements && PropertyExists("Parameters.Result.Numberic")".

This will add a numeric result with a tab character at the end, to the report. It will only do so if the report options are set to include measurements and if the step is numeric.

0 Kudos
Message 21 of 21
(999 Views)