NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

chance automaticly report path with sequence file

hi,

how can i automaticly change the test stand report path ?

i'am using different sequence files for production test an each sequence
must use another report file path. this must happen without Userperformance.
i'm using teststand3.0

have you any idea's or exambles ?

andy
0 Kudos
Message 1 of 7
(4,518 Views)
Andy,
 
You could override the report options callback in order to specify a different report path for each sequence file.
Go to Edit->Sequence File Callbacks, select the ReportOptions callback from the list, click on Add and click OK.
You will notice that a new sequence (ReportOptions) was added to your sequence file.
You can modify the report path by Modifying the Parameters.ReportOptions.ReportFilePath in the ReportOptions sequence.
You can modify any other report options setting as well if you want.
I am attaching a simple sequnence file. I followed the steps described above to set the report file path to be 'c:\myrepot' all the time.
 
Hope it helps.
 
Antonio Lie.
 
 
 
 
 
 
 
 
 
0 Kudos
Message 2 of 7
(4,508 Views)
Hello
When I try this example, the report is written to the direcory containing the sequence file and not the one specified in Parameters.ReportOptions.ReportFilePath. Any thoughts on why this is happening?
I am using TestStand3.5 and have set the station model to the default SequentialModel process model for this example.
Thanks

0 Kudos
Message 3 of 7
(4,349 Views)
I've done a bit of experimenting and have found that if I set the parameters ReportOptions.DirectoryType = "SpecificDirectory" and ReportOptions.Directory = "D://test" that the report is written to directory D:/test
Message 4 of 7
(4,344 Views)
Hey!
 
I've tried this Example VI in TestStand 4.0 and it doesn't work.
Are there any other parameters aside from "Parameters => ReportOptions => Directory" and "Parameters => ReportOptions => DirectoryType" ?
 
It would be very nice if anyone could attach an example, which solves my problem.
 
Thanks
Patrick
0 Kudos
Message 5 of 7
(4,067 Views)

Hi Patrick

just triy this small example

(no postfix stuff at all ! I am using .txt here)

Greetings

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 6 of 7
(4,051 Views)

In reponse to Andy's original question of having the report for different sequence files go to different report paths,

TestStand 4.2 gives you the ability to specify the report path using Expressions as well right from the Report Options dialog box. For instance, using the  

<ClientFileName> macro, you could specify that reports for different sequence files go to different locations.

For more information on this, refer to:
NI TestStand Help: Specifying Report File Paths by Expression

Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 7 of 7
(3,818 Views)