NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Batch-by-Batch Process -- how is this done?

Hi,

 

This is kind of a follow up to this post -- Doing Batch Model + Parallel Model test

 

At that time, I did not have all information. Now I do. What I have now significantly changed the process after doing some testing with the Auto Schedule step (see link above). The problems with the Auto Schedule step is that the Locks we have in place for 4 UUTs to be tested in parallel takes on the next UUT as soon as the locked resource becomes available and that the order in which the locked resources executes can vary between test sockets. 

 

Both problems puts the kibosh on using Auto Schedule as a process.

 

The new info I got say that the test is executed in batches of 4 UUTs in parallel and that it is absolutely critical that each UUT in the 4-UUT batch needs to complete before moving on to the next 4-UUT batch. 

 

I went to Google to see if there are any posts on something like where we submit to TestStand a list of 32 serial numbers, and it grabs the 4 (not in a FIFO manner -- it's dependent on Test Socket # (e.g. First Batch - e.g. first iteration = Socket 0, 6, 12, 18, 24; Second Batch (second iteration) = Socket 1, 7, 13, 19, 25; etc). There's a reason and rhyme for that specific order that I'll not get into here. 

 

Google said that it's possible if I used a "batch-by-batch" process where I set up a sequence with a batch model and 4 sockets, and then in a PreBatchLoop, do a for loop with 8 iterations (8 iterations x 4 UUTs = 32 UUTs), and process each sub-batch. Google was not clear on whether I needed a "master" sequence with 32 UUTs and a sub-batch sequence with 4 UUTs. This is what is stopping me. Do I call the sequence with 4 Test Sockets from within the PreBatchLoop? Do I need to create two batch sequences -- the first one, I'll call "Main Batch", needs to have 32 Test Sockets in the Model Options and the second sequence, I'll call "4-UUT Batch", will have 4 test sockets, and then somehow pass the data on 4 UUTs from Main Batch to the 4-UUT Batch (which will run in parallel).   

 

Is this possible? And how should it be set up? (Remember from my other post, I was able to get auto schedule working, but it no longer is a valid process for this particular test process.). 


I'll go and experiment. 

 

 

0 Kudos
Message 1 of 1
(69 Views)