02-25-2015 04:29 AM
I would like to include the PreUUT Results in the Report. I've tried to utilise the description in http://www.ni.com/example/29069/en/, however i get an endless execution loop.
Also after termination the Report content is only from PreUUT. What principles are(am i ) missing?
02-25-2015 07:50 AM - edited 02-25-2015 07:51 AM
You are getting an endless execution loop because one of the parameters to PreUUT is a boolean called ContinueTesting. If that doesn't get set to false the process model will keep looping.
You need to put some logic in your PreUUT that will set that flag to False on the second iteration.
Let me know if you have any more questions about this.
02-25-2015 09:35 AM
hey Jigg,
Thanks - I've added some logic to reset the flag, so single iteration... but i'm still only seeing the PreUUT Callback/ PreUUT Action in the Report.
Checked with the original - "IncludePrePost.seq", it's the same outcome.
Are the expressions...
Locals.ResultList=RunState.Root.Locals.ResultList[0].TS.SequenceCall.ResultList
RunState.Root.Locals.ResultList[0].TS.SequenceCall.ResultList= Locals.ResultList
... in the PostUUT OK?
Cheers kech
02-25-2015 10:45 AM
That's because the reporting only looks at the first element in the ResultList in the process model.
You need to inject them into the MainSequence resultlist. Not the Process Model result list. The link you pointed out told how to do it. If you are still struggling let me know and I might have time to throw together a little example.
Regards,
02-25-2015 03:37 PM
See if this one works.
02-26-2015 02:58 AM
Hi Jigg,
It works - but not completely.
The PostUUT Steps (1-4) don't appear in the report.
I've checked the content of "RunState.Root.Locals.ResultList[0].TS.SequenceCall.ResultList" after the expression "RunState.Root.Locals.ResultList[0].TS.SequenceCall.ResultList += Locals.ResultList" has run and it contains all 12 steps, so the Result Collection seems ok
Are there any special Report Generation or processing settings i've missed... !?!
TestStand Version 14.0.0.274 (64 bit)
Regards
kech
02-26-2015 08:38 AM
Are you using On-The-Fly reporting? That might have something to do with it. Turn it off and see if the results are different.
02-26-2015 09:32 AM
I'm not using On-The-Fly reporting! ?
If i do - then as expected i only see the Main Sequence steps..
02-26-2015 09:47 AM
I'm very surprised this doesn't work for you then. My next move would be to put a breakpoint in the plugin (I believe UUT - Done sequence) and see if all the results are making it into there. Then you can follow it using the debugging tools to see where it could be getting lost.
I can't reproduce it so it's hard for me to give much more advice than that. Sorry.
Which plugin are you using and what settings?
Regards,
02-27-2015 09:04 AM
Ok Jigg,
you're exposing to me - my lack of knowledge.. So i have selected different Formats in the Result Processing Configuration - HTML, ASCII etc, and selected various settings within.. No Joy
But i'm not sure which Plugins i have.
Is that under ../Cfg/ModelPlugins/ResultProcessing.cfg ?
How to i acces the Process Model in TestStand itself - i.e. to view the UUt-Done sequence?
I'm out-of-office until 10.03.2015 - will chase this thing then..
Thanks for now.
K