NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Mode - Individual UUT Passed/Failed Status

Hello,

 

I have a Batch Mode 4 UUTs Application in which I need to access individual UUT Passed/Failed status at the end of the MainSequence.

 

Can I simply read the RunState.SequenceFailed in parallel to get individual UUT status for each socket? Or do I need to read from somewhere else if I use Batch Mode TestUUTs entry point?

 

Please advice. Thanks

0 Kudos
Message 1 of 3
(2,370 Views)

Calling RunState.SequenceFailed just tells you whether the Sequence failed or not. Which can give you some false information if that is all you look at. For example, if your sequence gets Terminated, RunState.SequenceFailed will say False. It didn't fail, it got terminated. So forth with errors.

 

But RunState.SequenceFailed is exclusive to each UUT. So if you really just want to see if it failed then yes, doing that at the end of your MainSequence is enough even in Batch mode.

 

What I would recommend is using a PostMainSequence Callback (depending on when you really need this information and why). One of the parameters is UUT Status. You can read that to find out exactly what the UUT Status is, Passed, Failed, Terminated, Error, etc...

Message 2 of 3
(2,295 Views)

In PostBatch, you can access Parameters.ModelData.TestSockets[<index>].MainSequenceResults

where <index> is the number of your test socket.  

 

MainSequenceResults.Status has the string Passed, Failed, Terminated, Error as described here:

http://zone.ni.com/reference/en-XX/help/373892H-01/tssemiconductor/structure_testresultspropertyobje...

 

Message 3 of 3
(2,267 Views)