05-14-2009 07:54 AM
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
05-14-2009 09:50 AM
Hi,
you can try "RunState.Root.Locals.ReportOptions.DisableReportGeneration"
Regards
Ray Farmer
05-15-2009 03:08 AM
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.
05-18-2009 01:36 PM
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.
05-19-2009 12:51 AM
Hi,
You might beable to just use the ProcessCleanup callback and therefore do not need to modify the Process Model.
Regards
Ray Farmer