01-21-2014 01:20 AM
Hi,
I have following task:
06-03-2017 08:04 AM
I am having the same problem; I know "GetReportFilePath" just gets the current report path only and does not enable you to change it. I think you need to use report options callback but am unsure how to do this in TestStand 12 as it is different from previous versions of TestStand.
Did you manage to solve this, I could do with some help myself on this; do you know how to do this now?
06-05-2017 07:53 AM
May I suggest a solution. I don't know if it answers your problem and it is done under TestStand 2016, but I think it could be done under TestStand 2012
I use a station globals to change the path of the report (like in the picture below). You just have to set the station globals variable before TestStand compute the report file name. You can have more information about this subject in the section 'Specifying Report File Paths by Expression' of the TestStand help
Best Regards
06-05-2017 10:06 AM
To complete my previous answer, it is also possible to specify the report path during your test.
you can see at the end of the help page 'Specifying Report File Paths by Expression', that
If the Report File Path expression contains the <UUTStatus> macro, the report generator determines the report file path after calling the MainSequence callback
Is it possible to you to add this macro ?
Or maybe you can 'cheat' and add this macro in the expression but not used in the path, for example something like (true ? your expression : <UUTStatus>). To be tested
Regards