NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is possible to have several reports by a main sequence?

Hi,
 
I have a main sequence that calls other sequences and I should have a different report for each sequence called. Actually, I have only one report for the main sequence.
 
For example : I have a main sequence named Test_ENP that called 3 sequences : 
- test ENP_001
- test ENP_002
- test ENP_003
I should have a different report for the sequence named "test ENP_001", a different report for the sequence named "test ENP_002" and a different report for the sequence named "test ENP_003".
Actually, I have only one report for the main sequence named "Test_ENP"
 
Is it possible? I used TestStand 2.0 and HTML Reports.
 
Thanks and sorry for my poor englsih.
0 Kudos
Message 1 of 2
(2,860 Views)

Hi,

Try this example.

The Determine Report File Path steps use the ReportOptions set by the Configure Report Options but modifies the BaseName and switches of UseSequenceFileNameAsPrefix.

You will probably need to add some error trapping because if the sequencefile is run without the process model an error will occur.

You probably need to check the existence of "RunState.ProcessModelClient" as this is available if running with the process model.

Regards

Ray Farmer

Regards
Ray Farmer
Message 2 of 2
(2,833 Views)