04-05-2012 08:47 AM
Hello,
I'm using a ListBar control with the batch processmodel.
I run my sequence using TestUUts with 2 sockets , the listbar list 3 executions (one for TestUUTs and 2 for sockets).
Is it normal that the ListBar doesn't display the status of the last UUT, but the status of the failed one ?
for example :
Start Test UUTs
Loop 1
UUT 1 = passed
UUT 2 = passed
Loop 2
UUT 1 = Failed
UUT 2 = passed
Loop 3
UUT 1 = passed
UUT 2 = passed
End UUTs
At the end the lListBar display :
TestUUTs : Failed
UUT1 : Failed (passed is expected because last UUT is passed
UUT2 : passed
if this behaviour is normal, is there a way to modify listbar to display the last UUT result?
Thank you for your help
JPV
04-05-2012 06:21 PM
Rather than look into modifying the listbar control why don't you look into the logic of why the Batch Process Model and the client sequence mark that UUT has having failed when it fails one of the iterations?
04-06-2012 01:15 AM - edited 04-06-2012 01:16 AM
The batch process model uses the runstate.sequenceFailed property to determine the status of the socket at the endso you can set that to true manually.
Btw this is expected behavior - usually you want to know which sockets had failures, even if the last UUT did not fail.
you should just use RunState.Root.SequenceFailed = RunState.SequenceFailed
Best regards
Romain DUVAL || RF & Semiconductor Staff System Engineer || CLA || CTA
National Instruments France
04-06-2012 01:22 AM
04-06-2012 10:38 AM
Hi JPV,
With the batch model there isn't typically a last UUT since the model waits for them all to complete and they generally all run in parallel, so I'm not entirely sure what you mean by last UUT. The way the model is designed is that the Test UUTs execution will be passed if all of the sockets passed, and failed or error if any of the sockets failed or had runtime errors (I think it just displays the first error in the case of error).
-Doug