08-13-2024 10:51 AM - edited 08-13-2024 11:20 AM
Hello,
Am working on a sequence file with parallel model and it is configured for 2 sockets, both socket steps/sub-sequence is executing in parallel but one of step that make SSH connection and runs a command[to install a software on connected SSH client on specific location other than socket-1 software installation location] is holding on Socket-0 to finish execution and after that it triggering socket-2 execution, in this case am not able to utilize parallelism and reduce my execution time on both UUTs.
Not cause of SSH, cause above to this step am executing command via SSH, but this step isn't running in parallel.
**Tried Batch model processing as well, No Success
**Creating new thread for that step isn't working. No Success
**Updating the synchronization for Batch Model, tried both "Use Model Setting" and "Parallel(All thread enter simultaneously)"No Success
TestStand 2020 32-bit
Thank you.
Solved! Go to Solution.
08-13-2024 11:47 PM
Let me re-phrase this:
you have two UUTs which are meant to be tested in parallel. Both of the sockets need to execute this SSH stuff.
Questions:
- I guess this SSH stuff needs to happen at a dedicated point during the sequence. So the sockets need to be synchronized to do this, right?
- How do you run SSH? LabVIEW VI? CLI?
Usually, sockets are "blocking each other" if ressources are shared.
08-14-2024 09:08 AM
I was using python to crate SSH connection, just need to update the python-adapter setting for python interpreter to "per thread" that's it.
Refer this link for more details.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000xC7ICAU&l=en-US