From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

conditionning report generation on a serial number

Hello!

I want to make a condition in my testand sequence for the report generation :

If the operator type "GOLD" in serial number i dont want to log a report. 

 

in holder version of teststand i saw (in this forum)  Parameters.ReportOptions.DisableReportGeneration = True

But in my version of TS (2022 Q4) this variable is unknow !!

 

Thank you !

0 Kudos
Message 1 of 3
(335 Views)

Reports are plugins, so you may potentially have multiple plugins/reports now. You are probably looking for this, inside the PreUUT Callback:

 

Parameters.ModelPluginConfiguration.Plugins[ReportIndex].PluginSpecific.Options.DisableReportGeneration.

 

ReportIndex depending on how many reports you have enabled or step up in the Result Processing configuration.

 

I'm not 100% sure if it's too late to disable it in the PreUUT Callback so you will have to look and see. You may have to use the ReportOptions callback or something else if PreUUT is too late.

0 Kudos
Message 2 of 3
(306 Views)

tank you,

how can i find this type of var by myself ? i have a warning using it and it si not proposed in the "dynamic" list of variable by teststand..??

i 'll try it as soon as possible ! 

 

0 Kudos
Message 3 of 3
(271 Views)