05-16-2017 07:05 AM
Hi All,
I am building a testsystem using the batch model. I want to run 80 UUTs per batch. Each 20 UUTs are controlled by one FTDI serial converter. So i have 4 FTDI converters in my test system. Test sockets 0-19 use FTDI 1; sockets 20-39 use FTDI 2; etc
How do i synchronize the open, close, read and write functions for the 4 shared resources? In batch test systems using 1 resource, I open and close the device by marking the open step as synchronization "One thread only". For reading and writing to the resource is use synchronization "Serial".
Now i have each time 4 steps to open and close the resources synchronized as "One thread only". So 1 test socket controls each 4 resources.
Is it possible to run a step only on sockets 0, 20, 40 and 60 (run once per group of 20 UUTs)? This way i don't have to use a different steps for each resource, but only one step that has a parameter indicating which resource to use.
Thanks in advance,
Stef
05-16-2017 07:40 AM
Stef,
using Sequence Call steps, you can "stack" multiple process models (New Execution). You can create a batch containing 4 batches which contain 20 DUTs each.
In that case, the inner batch (FTDI) would run the Single Pass entry point for easier handling.
05-16-2017 09:02 AM
Hi Norbert,
Thanks for your reply.
Is it possible to accomplish this by using our modified batch model?
Is it possible to synchronize to the 'inner' batch as well as to the 'outer' batch?
05-16-2017 09:10 AM
@svh wrote:
[...]
Is it possible to accomplish this by using our modified batch model?
[...]
I don't know about your modified batch model. So i don't know if that will work. If done properly, it will work with the default models from NI.
@svh wrote:
[...]
Is it possible to synchronize to the 'inner' batch as well as to the 'outer' batch?
The 'inner' batch will synchronize the 20 DUTs assigned to it. That is why i recommend single pass as entry point. In the actual test sequence (which applies to all 80 sockets!) you can add synchronization steps if you share instruments in each 'inner' batch.
The 'outer' batch will already synchronize the 4 'inner' batches. That means that all have to finish before the next batch with 80 DUTs will be entered. I am not sure about additional synchronization requirements. If there are some, just add model overrides or customize the model appropriately to add these (e.g. One Thread Only material handling code for batch handling).