NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Listbar display status

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

 

0 Kudos
Message 1 of 5
(3,150 Views)

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?

CTA, CLA, MTFBWY
0 Kudos
Message 2 of 5
(3,141 Views)

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

0 Kudos
Message 3 of 5
(3,134 Views)
Thank you for the Quick answer.
0 Kudos
Message 4 of 5
(3,129 Views)

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

0 Kudos
Message 5 of 5
(3,122 Views)