NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I redirect Batch Report Files to a different directory.

I have a custom version of the Batch Process Model that allows for on the fly report updates. At the end of execution the final report is written. I need to redirect this final report to another directory, but I am having trouble identifying where the report directory is specified. Right now, it is writing in the same directory as the sequence file and I need to change this.
0 Kudos
Message 1 of 2
(3,000 Views)
Hi Terry,
have a look at the following inside the process model TestUUTs (or Single Pass)

Locals.ModelData.ReportOptions.DirectoryType
set this to "SpecificDirectory"
then in
Locals.ModelData.ReportOptions.Directory
set this to your target directory.

If it's a permanent setting, then I'd suggest updating these values before run time in the report options panel from the Configure menu option.
If it can be determined before the sequence is run, then you could do it as part of the report options callback. Otherwise, slot it in as and when needed, just before the call to the Determine Report File Path and Determine UUT Report File Path steps, although I guess that depends on how much you've modified the process model so far.

Hope that helps

S.
// it takes almost no time to rate an answer Smiley Wink
Message 2 of 2
(3,000 Views)