NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Model: How to Stop if any socket fails

Using TestStand 2012, using a modified Batch Process Model for Temp Chamber Testing (upto 8 boards at a time).  Will be performing Thermal Cycles, but if a Unit Under Test Fails we would like to halt testing (next time at room temp), remove the failing board and if a new board is available, start testing on the board.  If all boards/sockets are passing, proceed with next temperature cycle.

 

Easy approach is to stop at room temp every time and have the operator restart the cycle, this would add time if the operator isn't available at cycle completion.  Don't want to Abort non-failing Sockets, but would be OK with the Batch Ending, writing reports, and then have the operator start again.

0 Kudos
Message 1 of 3
(3,569 Views)

You can add a statement step with "RunState.Engine.TerminateAll()"

This will stop your batch model.

 

Check for failures during high temp testing - and set a failflag. ( can be in stationglobal so that any socket can set it).

If room temperature and failflag is true then run the above statement.

 

It will automatically close the Batch.Since its a terminate it will be a clean close ( all cleanup will be run).

Also reports will be generated.

 

Hope this helps.

0 Kudos
Message 2 of 3
(3,557 Views)

nevermind, I had a question, but I think I understand what you are asking now.

0 Kudos
Message 3 of 3
(3,548 Views)