09-22-2009 03:36 AM
Hello,
I read the knowledgebase for disabling Report Generation using SequenceFile Callback and also went through the forum.
However, I could not disable the report generation by running the attached sequence. Parameters.ReportOptions.DisableReportGeneration is being set to True.
Any ideas on what I am doing wrong?
Thanks!
09-22-2009 04:55 AM
Troy,
The syntax of the command is correct and I have used this method in the current project I am working on.
However, I have had some difficulty with the reportoptions callback.
Place your command in the sequence you are running and not the callback, and give it a go via
RunState.Execution.Report.DisableReportGeneration = true.
If this works your problem is associated with the callback
09-22-2009 12:20 PM
Thanks. I did try it out. However, RunState.Execution.Report.DisableReportGeneration showed up as an invalid variable.
09-22-2009 02:20 PM
Troy,
Try this -
In you main sequence file add a call back model Report Options.
Add a statement Parameters.ReportOptions.DisableReportGeneration = True
I am using this and it works for me.
09-22-2009 02:25 PM
Thanks, Vidula. Is it possible to save the seq file for TestStand 3.5? I don't have a newer version installed yet.
09-22-2009 02:31 PM
I do not have TestStand 3.5.
Check the attached images
09-22-2009 02:39 PM
Thank you. Is there a get report options before the set?
09-22-2009 02:47 PM
09-22-2009 08:19 PM
Hi,
I still have not figured how to disable report generation by just running a sequence. I added the step to disable report generation in FrontEndCallBacks.seq as well, but am not sure if the FrontEndCallBacks.seq should be called through some sequence.
Thanks.
09-23-2009 03:17 AM
Hi,
Are you sure your ReportOptions Callback sequence is being called? Try putting a MessagePopup in the ReportOptions sequence or put a breakpoint in the sequence. If you use a breakpoint, then you need to set the enable tracing in callbacks found in the Preferences.
Regards
Ray Farmer