03-12-2012 05:05 AM
I couldn't get it running, therefore I've created a very simple test sequence. I will add the Expression, when I get the simple sequence working.
Have you also opened my test workspace? I've opened the zip-file which I uploaded to the forum and the "ReportOptions" sequence is in it.
Best regards,
Niek
03-12-2012 05:34 AM - edited 03-12-2012 05:36 AM
Like I said, "I have opened your sequence file and I dont see any ReportOptions sequence. In fact there is nothing other than the MainSequence which contains no steps"
At the moment I cannot look at your files because I only have 4.2.1, but I'll re-look later on this evening. I have created my own sequencefile with a ReportOprions callback sequence which contains your ReportOptions setup and this works fine for me.
What have you got in your <TestStand Public>\Components\Models\TestStandModels folder for the report generation sequence file and the process model sequence files. Have these been modified?
03-12-2012 05:56 AM
I've not changed any files in the TestStand directories. I've also tried to run the sequence on an other workstation. This had the same result.
Attached the sequence file saved for TS 4.2.x
Best regards,
Niek
03-12-2012 11:03 AM
Hi Niek,
If you hover your mouse over the expression, you see the tip strip, which tells you how to use this.
I tested your sequence with the following expression:
Parameters.ReportOptions.ReportFileBatchModelExpression ="\"d:\\\\test_BatchReport[<FileTime>][<FileDate>]1.html\"",
I attached the modified example.
Regards,
Bas
03-12-2012 11:09 AM
And the example with <UUTStatus> and <UUT>
03-12-2012 11:15 AM
This example is running at my workstation :). I had tried a lot with the backslashes, but not enough, I see now.
I will now rebuild the example until it matches my specification.
Ray and Bas, thank you both!
Niek
03-12-2012 11:16 AM
It's probably best not to include the extension as it will be picking this from the report format parameter or at least use .<FileExtension>
Also it doesn't need the \".... \" as it works with "d:\\test_BatchReport[<FileTime>][<FileDate>]"
or it Niek example "c:\\test\\<UUT>_<UUTStatus>_<Unique>"
03-12-2012 11:23 AM
Quote RayFarmer: Also it doesn't need the \".... \" as it works with "d:\\test_BatchReport[<FileTime>][<FileDate>]"
This is not true, \"...\" is needed to get it working.
You have also to insert four backslashes between the folders.
Also it better to include .<FileExtension>.
The following is working for me:
Parameters.ReportOptions.ReportFileBatchModelExpression = "\"c:\\\\test\\\\<UUT>_<UUTStatus>_<Unique>.<FileExtension>\""
Thank you both again!
03-12-2012 11:58 AM
That's good news, well done Bas