From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-24-2015 10:25 AM
Hi everyone, I am running Test UUTs to run my "main sequence" file. I have a step in my sequence that asks the operator to scan a barcode. If the barcode is not valid I have a Test Stand message prompt that asks the operator if they would like to scan the barcode again or exit the test. I notice if the operator selects exit test that the main sequence will immediately go to the cleanup (as I tell it to) and exit testing. However, when the operator selects exit test a test report is still created. How do I get the Test Report to NOT create if the operator hits exit test?
Thanks so much!
04-25-2015 12:31 PM
You should consider moving your serial entry dialog to PreUUT. A report will not be creating if they cancel from within there.
There's an example here: http://zone.ni.com/reference/en-XX/help/370052N-01/tsexamples/infotopics/process_model_parallel/
Hope this helps,
04-25-2015 12:33 PM
Sorry I meant this link: http://zone.ni.com/reference/en-XX/help/370052N-01/tsexamples/infotopics/callbacks_preuut/
04-27-2015 09:00 AM
Jiggawax,
Thanks for the response. Is there anyway within the main sequence to do this? Or is this not possible?
04-27-2015 10:12 AM
It is possible but probably not worth it. You would need to get access to a Root (process model) variable. So something like RunState.Root.Locals.ReportOptions.
Which version of TestStand are you using? That could make a huge difference.
04-27-2015 10:38 AM
Test Stand 2013
04-28-2015 12:02 PM
Are you using On The Fly reporting? It will be too late in the MainSequence if you are. You will have to go delete them off the disk.
Are you just concerned about the results being put on the report? If so then just clear out your MainSequence Locals.ResultList.
Because everything is in Plugins it is not as easy to turn off report generation dynamically.