From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-17-2017 08:14 AM
I have a sequence with a sequencecall step configured to run a sequence with a new execution using the Batch process model. The step is also configured as "Do not wait" for execution to complete and it returns a reference to the new execution.
My intentions were to use a "Wait" step later on in the calling sequence configured to "Wait for: Execution" to retrieve the ResultList of the called test sequence. This seems to work well when the call is configured to use the Sequential Model with Single-Pass entry point. However, when configured to use the Batch Process Model with Single Pass entry-point, the ResultList returned is only for the controller execution, no results for the test socket executions is returned that I can tell.
Does anyone know if there is a way to retrieve the ResultList from the test socket executions of a batch execution from a calling sequence?
Thanks
Damien
02-20-2017 02:03 AM
@DamienGaudry wrote:
I have a sequence with a sequencecall step configured to run a sequence with a new execution using the Batch process model. [...]
Thanks
Damien
What is the use case of this? Do you intend to create a new process model which encapsulates the batch model?
02-20-2017 08:12 AM
Hello Norbert,
Thanks for the response.
The test solution we are replacing monitors external conditions (thermal chamber) and based on those conditions (hot/cold/transition), executes a particular test. We haven't nailed down the particular framework we are going to used to tie it all together (maybe in a custom process model or perhaps in a custom UI) but for executing the individual tests and collecting results, I wanted to use the mechanism described in my original post. If we were testing one UUT, we'd use the sequential model and everything I described would work fine. But in our case, we need to test 8 UUTs and have some shared hardware resources that we plan on using the batch model and batch synchronization to help manage.
Perhaps there's a better mechanism you'd suggest for returning the status of those executions to the calling sequence or applciation?
Thanks,
Damien
02-20-2017 08:25 AM
Damien,
sounds like you should use a standard batch model. Iterate multiple times on your test sequence using different sets of configuration settings using the same serial numbers.
You can modify the batch model to include the iterations on the tests depending on configuration settings before requesting new SNs to ease the use of the model.
02-20-2017 02:16 PM
You can simply collect your data in SequenceFilePostResultListEntry callback of the sequence - it's running in each thread separately, so you can easily process data there. Did you try to do like this?
Sincerely, kosist90