NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Report generation enabled without showing the report

Hello,

 

I'm new to TestStand and I have just created my first large application in TestStand 3.5 (and LabVIEW 8.5.1)

Now I have a question regarding the report generation.

 

I'm running the sequence editor and report generation is enabled.

Each time when I stop the measurement (instead of scanning a new barcode I select quit) the execution terminates and a report is shown.

Is there a way to prevent this report from being displayed. I only want the report to be logged to disc, not shown to the user.

 

Thanks for the help!

John

0 Kudos
Message 1 of 5
(3,555 Views)

Hi,

 

you can try "RunState.Root.Locals.ReportOptions.DisableReportGeneration"

 

Regards

Ray Farmer

Regards
Ray Farmer
Message 2 of 5
(3,550 Views)

Isn't that the same as completely disabling the report generation?

 

I just want the report not to be displayed to the user.

The report file must still be logged to disc but I don't want the operator to see it.

0 Kudos
Message 3 of 5
(3,535 Views)

John,

 

You will need to modify the Process model to include a statement step at the end of the Cleanup section that executes the following command.

 

RunState.Thread.PostUIMessageEx(UIMsg_CloseWindows,0,"",RunState.Execution,True)

 

This command will allow the report to be written disk, but will not be displayed to the user.

 

-Adri K.

Adri Kruger
National Instruments
LabVIEW Product Marketing
0 Kudos
Message 4 of 5
(3,499 Views)

Hi,

 

You might beable to just use the ProcessCleanup callback and therefore do not need to modify the Process Model.

 

Regards

Ray Farmer

Regards
Ray Farmer
Message 5 of 5
(3,486 Views)