NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling Report Generation

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!

0 Kudos
Message 1 of 20
(5,104 Views)

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

 

 

0 Kudos
Message 2 of 20
(5,099 Views)

Thanks. I did try it out. However, RunState.Execution.Report.DisableReportGeneration showed up as an invalid variable.

 

 

0 Kudos
Message 3 of 20
(5,090 Views)

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.  

 

0 Kudos
Message 4 of 20
(5,085 Views)

Thanks, Vidula.  Is it possible to save the seq file for TestStand 3.5? I don't have a newer version installed yet.

 

0 Kudos
Message 5 of 20
(5,084 Views)

I do not have TestStand 3.5.

 

Check the attached images

Download All
0 Kudos
Message 6 of 20
(5,083 Views)

Thank you. Is there a get report options before the set?

0 Kudos
Message 7 of 20
(5,074 Views)
NO
0 Kudos
Message 8 of 20
(5,073 Views)

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.

 

0 Kudos
Message 9 of 20
(5,037 Views)

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

Regards
Ray Farmer
0 Kudos
Message 10 of 20
(5,026 Views)