05-06-2010 08:14 AM
Hi All
I have a system under test which I interrogate (via RS232) for embedded hardware and firmware information. The reported response has to be added to the final test report along with all the other specified test cases.
e.g.
Operator: xyz
Date: xyz
UUT Type: xyz
Serial Number: xyz
************************************************
PTS 2.1 Embedded H/W (Processor) 12345 version A 12345 version A
PTS 2.1 Embedded H/W (Amplifier) 23456 version B 23456 version B
PTS 2.1 Embedded H/W (Filter) 34567 version c 34567 version c
PTS 2.1 Embedded H/W (Pre-Amp) 45678 version D 45678 version D
PTS 2.2 12V OFF Current 2.1mA 5 LT
PTS 2.2 12V ON Current 250mA 300 LT
etc
etc
The only way I can think of to get the information into the main body of the report is to perform a 'String Value' test on it. However I then get the limits displayed in the report as well making the final report look messy. I do need all the limits in the report for the usual test cases e.g. voltages, currents etc so I cannot turn off limit reporting in the configuration report options.
Is there a way to turn OFF the limits reporting for individual test cases?
Regards
IanR
05-06-2010 09:45 AM
What version of TestStand are you using?
You could change the step to an 'Action' step and put the RS232 string in the report text for the step? It depends on how your report options are setup in your environment. Where I work, we do not put any Action steps in the report just Pass Fail results. Hence you would have to change the Status Expression for your Action step to something other than "Done"....
Otherwise in TestStand 4.0, you can click on the Property Browser view under the Properties Tab. Right Click on the Limits container and select 'Advanced -> Edit Flags'
Within that box there is an option 'Is Limit' checked, perhaps by unchecking this option it will not be put in the report. Although I would NOT do this, because it is difficult for anyone taking over your code ( unless you document you changed this flag ) to see that it is unchecked.
Thanks,
Paul Holzrichter
05-06-2010 10:33 AM
Thanks Paul.
I am using TestStand version 4.0
I will try changing to an 'Action' step in place of the 'String value' test.
I already tried editing the flags for the limits on each individual test. Unchecking the 'IsLimits' box had no effect, neither did unchecking the 'Include in report' box.
Regards
IanR
05-06-2010 11:18 AM
You can just use an action step and store the string in Step.Result.ReportText. Also in newer versions of teststand you can use the Additional Results setting for the step in the step settings panel.
-Doug
05-10-2010 04:48 AM
Thanks for your advice guys but it seems with TestStand 4.0 no matter what I try I either get (Result + Limits) or nothing reported. Guess I will just have to live with it until we upgrade.
Regards
IanR
05-10-2010 07:23 AM
Are you after a summary result ie test with PASS|FAIL
regards
Ray Farmer
05-11-2010 02:03 AM
Thanks again for pointing me in the right direction. I now have a solution. Immediately after the string value test i make a statement such:-
Locals.ResulList[21].Limits.String = "" thus putting an empty string in the previous test limits. It may be a messy solution but it works for now.
Regards
IanR