NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving Reports to specific directories

This question has probably been asked before but i get so many search results i can't find it. I'm using TestStand 3.0 and Labview 7.0. I want to know how to save the reports from different sequence files to different directories. I did not see anything in report options for this which leaves me to believe i need to do in my labview vi's. Thanks
0 Kudos
Message 1 of 3
(3,090 Views)
Hi,

From the menu item Configure | Report Options.
Select the Tab 'Report File Pathname'

Enable Generate Report File Path
Select 'Specific Directory' in Directory control
Enter Report Path
Enter Base Name (this is default Report)

Or

Enable Specify Fixed Report File Path
Enter the Report File Path: (this is the full pathname plus file extension)

That will set the Static conditions but to ensure that each of your sequencefile uses the correct locations you will have to do the same via the ReportOption callback.

First add the Sequence Callback ReportOptions to your SequenceFile.
Then you will have to alter the Parameters.ReportOptions passed to the sequence callback.
The Ones you are interested in are:
Parameters.ReportOptions.GeneratePath = True

Parameters.ReportOptions.DirectoryType = "SpecificDirectory"
Parameters.ReportOptions.Directory = "" eg "C:\Temp\Junk"
Parameters.ReportOptions.BaseName = "Report" (this is default)
Parameters.ReportOptions.Format = "txt"

(You may want to set some of the other parameters such as NewFileNameForEachUUT, ForceFileNameToBeUnique etc..) There is a property for each of the controls in the Configure | Report Options dialog.

Or
Parameters.ReportOptions.GeneratePath = False
Parameters.ReportOptions.ReportFilePath = "" eg "C:\temp\my report file.txt"



Hope this helps.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,090 Views)
Hi,

Some solutions are given in answer to a similar question. Please check the solutions given at the following link:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000030270000&UCATEGORY_0=_8_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=report+path&USEARCHCONTEXT_QUESTION_S=0

The solution doesn't require any implementation in the labview vi's.

Hope this helps,
Silvius
Silvius Iancu
0 Kudos
Message 3 of 3
(3,090 Views)