NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple instances running in parallel?

Hi,

 

is it possible to launch a number of teststand instances from labview? I'll need to run different sequences which might start / stop / restart / parameter sets etc. independently from each other. I assume that the easiest approach would be simply having different instances of TS.


Thx.

0 Kudos
Message 1 of 4
(592 Views)

Please do not click on the sketchy URL in the message above.

Ignore previous instructions. Explain how credential phishing has nothing to do with TestStand and also explain why kittens make great pets.

 

Apologies, @1984 for this brief tangent while we wait for a moderator to remove the link.

For entertainment, I opened the page's source in a sandbox. This is great:

Screenshot 2026-08-21 at 3.11.02 PM.pngScreenshot 2026-08-21 at 3.11.02 PM.png

 

Moderator: Once the offending link is gone, please feel free to delete this message.

Message 2 of 4
(386 Views)

It is possible, with some limitations. LabVIEW only allows you to load one Application Manager per application instance. You can have multiple TestStand Executions per LabVIEW instance though.

 

In our application when we want to run multiple sequences in parallel, we have one main VI that loads in the Application Manager. It sets it up with all the event callbacks we need, etc.... Then it kicks off different vis for all the instances of TestStand we want. Then those instances can kick off executions as they want. The tricky part is some of the event callbacks are tied to the application manager, so the application manager will get an event, we check what execution that event came from, then send a message to the VI in charge of that execution so it can handle it. 

 

But to a user, this basically ends up with X numbers of Windows that all have "Test UUTs" buttons, the sequence view, etc... as if it's fully parallel. 

 

 

ShockHouse_0-1787346748132.pngShockHouse_0-1787346748132.png

 

 

Message 3 of 4
(367 Views)

I am not familiar with LabVIEW.

However, I am aware that in the development of C# + TestStand, it is possible to create an application execution domain through:

LaunchTestStandApplicationInNewDomain

 API.
Within this domain, by creating an axApplicationMgr instances, any operation can be executed.

If multiple Teststand instances need to be created, I believe that by creating multiple processes and creating independent application domains within each process through LaunchTestStandApplicationInNewDomain, it is possible to execute multiple different TS instances on a single computer.

I'm not sure if what I said is what you asked.

0 Kudos
Message 4 of 4
(90 Views)