NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel/batch Model Sequence one of [ SSH ]step is waiting on Socket-0 to finish to start Socket-1

Solved!
Go to solution

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.

0 Kudos
Message 1 of 3
(252 Views)

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.

 

0 Kudos
Message 2 of 3
(208 Views)
Solution
Accepted by topic author MEHDI_SYED

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

Message 3 of 3
(199 Views)