NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add Serial Number to the batch report name?

How to format the report name for batch model to have <Sequencename>_<batch_SerialNumber>_<DateTime>.xml. Everytime a different sequence is executed the report file name should be formated with that sequence name and batch serial number porvided. I am using TS4.1

Sequential model has a Determine Report File Path, is there something similar for batch model also, if so where?

Thanks.

*************************************************
CLD
*************************************************
0 Kudos
Message 1 of 7
(3,566 Views)

Found two variables - one for batch report file path = Locals.ModelData.ReportFilePath and another for UUT report file path = Locals.ModelData.UUTReportFilePath in Test UUT entry point.

 

Is there a callback that can be overridden to change the report file path for batch and UUT reports? Is it better to modify the modelsupport2.dll or override the callback?

0 Kudos
Message 2 of 7
(3,560 Views)

I have the same issue in batch mode. I need the serial number in the report file name. Why hasn't anyone of the NI Application Engineers answered this question?

0 Kudos
Message 3 of 7
(3,476 Views)

Hi lvrat,

 

The option to add the Batch Serial Number is present in the Configure->Report Options->Report File_Pathname tab.

 

The "New Batch Report File for Each Batch" option needs to be checked. The question indicates that you require separate reports for each batch, so checking this option will create separate reports AND add the batch serial number to the report name. The Batch options will be visible only if the current process model is the Batch model.

 

NOTE: In a Single pass execution using Batch model, a batch serial number is absent and the report name will be of the format: <SeqFileName>_[NO_BATCH_SERIAL_NUM]_<Date&Time>.xml

 

You can play around with the options in this dialog to customize it further. 

 

Hope this helps..

0 Kudos
Message 4 of 7
(3,470 Views)

Hi,

 

Is there a way to get a separate XML report file for every DUT in batch mode and have the serial number of each individual DUTs included in its file name?

 

Thanks

0 Kudos
Message 5 of 7
(3,464 Views)

To the first part of question:
**********************************
Is there a way to get a separate XML report file for every DUT in batch mode
*******************************
Under Report Options>>Report FilePath use the option "New UUT Report File for Each UUT". This will generate a new report for each UUT.

 

*************************************************
CLD
*************************************************
0 Kudos
Message 6 of 7
(3,459 Views)

Did hit Post too early, here is the remaining,

 

For the second part 

 

*******************
have the serial number of each individual DUTs included in its file name
*******************

The setting in Report Option will also save the UUT report with UUT serial Number included in the following format:

SeqFileName_[UUT][Date][Time].xml where [UUT] will store the UUT serail number.

*************************************************
CLD
*************************************************
0 Kudos
Message 7 of 7
(3,458 Views)