NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a line in the report with a TS step?

Hello,

My main sequence calls a subsequence. The subsequence has a loop. Since all steps are written to the report, there is no way of knowing which loop number I'm looking at, unless I count it.

I'm looking for a solution by adding a step in TS level to write a line to the report in which the loop number will be indicated.

I know how to do it from CVI but I rather do it from TS

Thanks

Rafi
TS3.0/CVI7.0
0 Kudos
Message 1 of 2
(2,504 Views)
Hello Rafi,

There are a number of different ways to add information to the report. The easiest thing that you can do is make use of the step result property, "Step.Result.ReportText". By default, it is set to NULL. If it is populated with any data (in the form of a string), it will display the result in the report automatically for you. You can use the Str function in the expression browser to convert numeric data into a string. Take care and good luck!

Regards,

Aaron B.
National Instruments
0 Kudos
Message 2 of 2
(2,485 Views)