NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

rename report file

I have a modular system that will have each individual component tested seperately.  I currently have a main sequence file that has a message popup that prompts the user for the component to test.  Depending on the selection, a sequence is called in a seperate file.  I wanted to have only sequence file that the technician will run. 

 

The current format of the report name is:     BPS Chassis Functional Test_[407409][1 56 36 PM][12 1 2008].html

 

Where "BPS Chassis Functional Test" is the main sequence file.  I would like to be able to have each component test in the report name, such as:

 

BPS Controller Card Test_ [407409][1 56 36 PM][12 1 2008].html

BPS Backplane Test_[407409][1 56 36 PM][12 1 2008].html

 

Is there a way to rename the file name at the end of the test?   Or is there a better way to implement what I am trying to do?  

 

Thanks

0 Kudos
Message 1 of 4
(3,413 Views)

Hi bollinger,

 

To change the path in your MainSeqence or its SubSequences try: RunState.Root.Locals.ReportFilePath

 

An other thing you could think about is:

Spilt your Seq.File into 3 seperate Files.

BPS Chassis Functional Test.seq is the master and it calls

BPS Controller Card Test.seq or BPS Backplane Test.seq with the

SequenceCall stepType but let it run in a sperate Execution by selecting

"Use New Execution" and enter your model's Entry Point ("SinglePass")

So your model will autmatically create the right Report file.

 

Hope this helps

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
Message 2 of 4
(3,397 Views)

Juergen,

 

Brilliant!  That's exactly what I needed.

 

Thanks,

Bryan

0 Kudos
Message 3 of 4
(3,389 Views)
Hi everyone,

Just an update, in addition to this, TestStand 4.2 gives you the ability to specify the report path using Expressions as well right from the Report Options dialog box. This can come in handy in situations where you might want to put all Failed UUT reports in one location and all Passed UUT reports in a different location.

For more information on this, refer to:
NI TestStand Help: Specifying Report File Paths by Expression
NI TestStand 4.2 Release Notes: Using Expressions to Customize Report File Paths

For more information on the new features in TestStand 4.2, refer to:
Whats New in TestStand 4.2
Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 4 of 4
(3,156 Views)