NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change ReportOptions for the "Batch File Path"?

I would like to change with the callback function the "Evaluated Batch File Path". This works so far for the Sequence and Parallel Model but noch fully for "Evaluated Batch File Path".
For the paths which are working I used following expressions:

 

Parameters.ReportOptions.ReportFileSequentialModelExpression = "..."
Parameters.ReportOptions.ReportFileBatchModelExpression= "..."
Parameters.ReportOptions.ReportFileParallelModelExpression = "..."

Now there is only one path missing and therefore, the path (see yellow marking) is still used. 

Batch.png

 

 

Question:

How can I set an individual path in the sequence "ReportOptions" for "Evaluated Batch File Path"? It must be something like 
Parameters.ReportOptions.xxxxxxx?

 

Thanks

 

 

 

 

 

0 Kudos
Message 1 of 4
(544 Views)

Nobody any hint or idea?

0 Kudos
Message 2 of 4
(482 Views)

Hi, 

The evaluated batch file path displayed in report options dialog is obtained by evaluating the "Parameters.ReportOptions.BatchFileBatchModelExpression". It is not stored in reportOptions. The expression is again evaluated at runtime to compute the final path. 

 

Regards, 

Anand Jain

NI

0 Kudos
Message 3 of 4
(465 Views)

Hello 

so you say the "Parameters.ReportOptions.BatchFileBatchModelExpression" is not stored in reportOptions. So with which callback or at wich point in the sequence I have access and can change the path then?

 

Best regards

0 Kudos
Message 4 of 4
(452 Views)