NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I generate the report file with my own report file name

Hi all,

 

I am using NI tesstand version 4.1.

 

The report file name usually a SequenceFileNme_Report, but I want to change the report file name dinamically without changing the sequence file name.

 

eg: For first UUT I want report file as Name_One_Report and for next execution Name_Two_Report and so on....

 

Is it possible, if so could any one please help me regarding this.

 

Many Thanks

Haneef

0 Kudos
Message 1 of 2
(2,708 Views)

Hi,

 

I'm not a very experienced TS user but I came to a solution of your problem. Open Report Options dialog and modify File Name/Directory Options on Report File Pathname tab. Set it as "Specify Report File Path by Expression and insert something like this:

"C:\\Projects\\TSReports\\Name_"+ Str(Locals.UUT.UUTLoopIndex) +"_Report[<UUT>][<FileTime>][<FileDate>]<Unique>.test"

 

Using Locals.UUT.UUTLoopIndex will give you number of your UUT. You can parse the number into anything you want (for example into "one", "two", etc.). The most important thing is to use [<UUT>] part which creates separate report file for each UUT.

 

Probably there's a better solution but I hope mine will help you.

 

 



0 Kudos
Message 2 of 2
(2,704 Views)