Hey everyone,
I'm developing a test sequence to be executed in the parallel model, and every Test Socket has its own sub sequence and set of steps (Socket 1 executes Test1, Socket 2 execute Test2 and so on...)
I configured my Report Options to generate a new UUT report for each UUT and for each Test Socket as well. This works fine but its configured to save in the Client Sequence File Directory, but I need to save the reports for each Test Socket in a custom folder and have custom base name.
This is what is being generated at the moment:
![rk_tinelli_0-1580220455616.png rk_tinelli_0-1580220455616.png]()
What I need to do, have a "Reports" folder with the following sub folders:
Inside folder "Socket4",for example, I'm supposed to have this:![rk_tinelli_3-1580220935557.png rk_tinelli_3-1580220935557.png]()
You can see that the base name is now "Test4_Report" and it's destination is not specific and equal to the other sockets.
Is there any way to set a custom path for every socket and save the reports for every UUT?
Things I tried:
- this link from the NI website, but didn't help for custom folder, only changed the folder where all of them were saved.
- Using the "ReportOptions" callback and call it in my PreUUT, after I identify my test Socket, with the modified the parameters described below but that didn't work
Parameters.ReportOptions.BaseName = FileGlobals.BaseReportName[4],
Parameters.ReportOptions.Directory = FileGlobals.PathSocket[4],
Parameters.ReportOptions.DirectoryType = "SpecificDirectory"
I'm avoiding to have a a VI module to move the report file (after the Report creation) and modify it's name, so it's one less thing to maintain in the overall test machine.