ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Python Step Type - Wait Options

Hello, 


I am using TestStand to invoke a Python script. I would like the sequence to continue to the next step and not wait for the python to exit.

Is this doable? I do not see any wait options like the Call Executable step. 

I am using TestStand 2019.


Thanks,

Alex

0 Kudos
Message 1 of 2
(2,953 Views)

Hello Alex,

 

I don't use TestStand 2019 yet. But you should be able to get "assynchronous" processing using a subsequence, calling it in a New Thread. But the feasibility will depend on your script's inputs/outputs. See Edit Sequence Call dialog Box, under Multithreading and Remote Execution » Run Sequence in a New Thread

 

With a "New Thread" sequence call, you can use a Wait step to collect the Results (result list of the new thread sequence will be append under the Wait step entry).

 

Hope this helps,

0 Kudos
Message 2 of 2
(2,892 Views)