11-28-2012 06:38 AM
Hi, I am a new one of TS! Can I modify the name of UUT report? Who can help me. Thanks in advance!
Under Normal Circumstances, I finish the UUT test,TS generating the report like this"Report[4F492CAB04][13 29 06][2012-11-28].html".
Can I modify something,When TS generating report will like this"Report[4F492CAB04][13 29][2012-11-28].html" without the seconds!
Solved! Go to Solution.
11-29-2012 02:37 PM
One way is to modify the process model.
Locals.ReportFilePath saves the name of the report. You can access that and use functions (like SerachAndReplace) to create the new ReportFilePath.
In Sequential Process model Determine Report File Path step provides the report file path using the report option settings. Custom code can be placed after this step.
12-01-2012 09:02 PM
Ivrat, Thank you for your reply! This way can modify the name of UUT report certainly!
But, it is difficult to me deal with deleting seconds when use functions(like SerachAndReplace) !
In these days I also find another way to solve this problem and I think your way much better than mine! Can you show me more details about use functions to solve this problem!
My way show as below:
1.Find this file"SequentialModel.seq". The path is"C:\Program Files (x86)\National Instruments\TestStand 2010\Components\Models\TestStandModels" .
If you are using TS2012,the path is"C:\Program Files (x86)\National Instruments\TestStand 2012\Components\Models\ModelPlugins\NI_ReportGenerator.seq"
2.You can find "Determine Report File Path Expression"
3.Use function Left(Time(),5)