06-24-2015 01:33 PM
Hi
How can I log a test result from 4 duts tested in parallel using Teststand log function to database
I am using Labview 2013, Teststand 2013 and Sequential model.
The test is done using a single digital board (pxie-6556). The 4 duts are connected to the digital board port and are tested in parallel.
Currently at the end of the test I have one report with all measurements, but I need 4 reports (1 report / dut)
Tks
Solved! Go to Solution.
06-24-2015 02:17 PM
Is there a reason you have chosen not to use the Batch or Parallel models? Those will inherently give you 4 reports.
http://www.ni.com/white-paper/2694/en/
Regards,
06-24-2015 02:31 PM
The reason to use sequential model is that I have only one board (pxie-6556) with one digital port (24 bits).
Each dut uses 4 bits. I send one command to this port and test 4 duts in parallel.
If I use the batch or parallel model I will not to be able to access the board resources in parallel.
06-24-2015 04:58 PM
With the Batch model you can have one thread only synchronization section to control your board. Then each of the threads can take the appropriate measurements and generate different reports.
If you are stuck on the Sequential Model then you will need to modify the plugin or create a new plugin to handle multiple reports.
Let me know which way you'd like to go and I can give you some direction.
06-25-2015 01:36 PM
If I use the Batch model with one thread synchronization I will test one dut at a time. Since I have 4 duts it will increase the test time 4x.
I was wondering if is possible to use the batch model and in one test socket I will test the 4 duts in parallel and after I send the test results for the other three test sockets.
But batch model with one thread is in fact a sequencial model.
So I think the sequencial model with a plug-in to handle the report is a better choice.
06-25-2015 07:42 PM
It seems that you misunderstand how one thread only works. You can have it set for only one step that gets executed in one thread. All the other steps will execute in parallel. This example demonstrates it beautifully: http://zone.ni.com/reference/en-XX/help/370052N-01/tsexamples/infotopics/multiuut/
It demonstrates setting the temperature on a temp chamber. Which is a very common use of this functionality. You don't want all the threads to set the temperature but you do want to talk to all the DUTs in the chamber simultaneously.
Give it a look and let me know if it makes sense. If you are still not satisfied then we'll look at the plugin method.
I'm pushing for this one because I think in the end you will be more satisfied and that it will be a lot simpler to implement.
06-26-2015 12:50 PM
The MultiUUT is a very nice example for the batch model, but it does not solve my problem.
My test is similar to the "Set Chamber Temperature" but instead a single answer "done" I have 4 results (1 result / uut)
In the MultiUUT example the test socket 0 report show the "set Chamber Temperature" result and in the test socket 1,2 and 3 the test report show Skipped in the report.
My current test is: 1 hardware --> 1 command --> 4 uuts in parallel --> 4 results --> 1 report
My wanted test is : 1 hardware --> 1 command --> 4 uuts in parallel --> 4 results --> 4 reports
In fact the test has more then 30 commands and I will store all data in a database.
06-26-2015 02:24 PM
06-26-2015 02:47 PM
Unfortunately I am using the dynamic session (the UUT uses the jtag protocol)
So I can not use a task for each UUT.
Sure the batch model is the best way to generate 4 reports but the challenge is how to avoid increase the test time.
If I find a way to pass the test result from one test socket to the others the problem is solved.
06-26-2015 05:33 PM