NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a subfolders for each reports ?

Hi,

I would like to find a smart expression with TestStand API to configure in my sequence the report path for each new execution.
Indeed, for each new execution, the sequence create a subfolder in working directory with an unique name where the report is saved in.

Eg. If my sequence is here: "C:\NI TestStand sequences\sequence01\my_sequence.seq"
Then, at the first execution: "C:\NI TestStand sequences\sequence01\report_0000001\my_sequence.xml"
at the second execution: "C:\NI TestStand sequences\sequence01\report_0000002\my_sequence.xml"
etc.

Is there any idea for doing it ? Thank you a lot.

0 Kudos
Message 1 of 3
(2,131 Views)

Try this in the report options dialog box:

"$(ClientFileDir)\\report_$(Unique)\\$(ClientFileName).$(FileExtension)"

 

Capture.JPG

Herrlin

Just trying to spread the LabVIEW love.
Message 2 of 3
(2,076 Views)

Thank you herrlin.

I try when my TestStand license will be reactivated.

0 Kudos
Message 3 of 3
(2,064 Views)