05-15-2007 01:57 PM
05-15-2007 05:11 PM
Hey Sajk,
If you look in your process model you will see a step called Determine Report File Path. This calls into the modelsupport2.dll and determines what to set Locals.ReportFilePath to based on the settings you have in Configure>>Report Options. Locals.ReportFilePath is local to the entry point sequence of the process model you are calling.
What you can do is, and this worked for me, just set that variable to whatever you want after the Determine Report File Path step but before the Write UUT Report step. This is because the Write UUT Report step uses that variable to determine where to write the report. The best thing is just to parse the Locals.ReportFilePath variable and insert what you want into the string before the .xml or .html or whatever report type you are using. This will ensure that they can still use the process model with whatever report type they want.
Regards,
05-16-2007 12:16 AM
Hi Sam,
I believe the 'Determine Report File Path' also open the file as well.
Regards
Ray Farmer
05-21-2007 10:49 AM
05-21-2007 03:29 PM
Hi,
You can use the Callback ReportOptions to do that. Its input is the settings from the Configure Report Options dialog. You can then change the component parts or the whole path, depending on the settings contained in the container ReportOptions.
You can add this callback in your sequence file and therefore you dont have to touch the process model sequence file.
Hope this helps
Regards
Ray Farmer
05-25-2007 12:58 PM
05-29-2007 03:28 PM
Hi SajK,
If you want a new report for the each UUT, you can select the "New UUT Report for Each UUT" in the Configure >> Report Options dialog under the Report File Pathname tab. Of course, this doesn't handle the Model number for you.
Generally, our suggestion follows along with what Sam recommended earlier. If you are concerned about directly modifying the process model, you could always add your own callback to the process model and then modify it. While you are still modifying the process model, you can limit your modifications to Test UUT sequence.
Regards,
Matt M.
NI