06-07-2025 09:53 AM
Hi, I'm currently developping a solution to test boards in parallel (up to 9). Most of the tests are selftest but I need to communicate with the boards to tell the tests to run and get the results.
I use a .NET communication dll for that and currently I managed to make the communication work with a single board.
I'm managing the dotnet reference with a FGV and there is only one reference to manage for the moment but I guess if I want to do parallel testing I should manage an array of dotnet references?
Here is what I tried in my FGV :
Setting the reference :
I Instanciate as much objects as boards to test which leads to the array of dotnet references.
Then, getting the reference by using the board position :
And lastly, closing the reference :
I haven't tested the code since it's the week-end but am I on the good way?
06-09-2025 02:42 AM - edited 06-09-2025 02:43 AM
Your close closes only the one instance at position but overwrite then all refs.
06-09-2025 03:15 AM
Hi, thanks for your reply.
Yes that was dumb.
So right after I close the reference at the position, I delete the element in the array and pass the new array in the shift register.
06-09-2025 04:25 AM
Hi caenem,
Have you tested your application? Does it work as expected?
06-09-2025 05:00 AM
Hi, no I haven't tried yet.
But the FGV is not on point for the moment and I realized that the solution I came up with in my previous message is incredibly stupid and won't work so I'm still working on a solution.
06-09-2025 05:17 AM
So for the Close, here is something I think is better:
Once the ref has been closed, the array is updated with a dummy reference at the index of the closed ref and the rest of the refs are unchanged and at the same index
06-09-2025 07:38 AM
caenem If you want to return to the default value for Array, you can try this version, and use this For loop in the Close case, or if it's not necessary to keep values in Array, you can change the tunnel mode, as shown in the 2nd screenshot