From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I run multilple instances of the same Exe

I created an application for the production test department and complied it into an executable. It works great. However, we need to be able to open more than one instance of the application on the same computer to run two different UUT simultaneously and completely independently.

Is there any way to easily do this?

Josh
0 Kudos
Message 1 of 5
(2,675 Views)
You could make a copy of the exe, call the original test1.exe and the copy test2.exe. Same test but different filenames, hence completely independent, unless they both try to call sub-vi's or other external functions (DLLs, etc.) at the same time.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 5
(2,675 Views)
If they call subvis, you can always make the subvis reentrant, allowing multiple accesses to that particular subvi. Go to File >> VI Properties >> Execution.

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 3 of 5
(2,675 Views)
If they call subvis, you can always make the subvis reentrant,
allowing multiple accesses to that particular subvi. Go to File >> VI
Properties >> Execution.

Jeremy L.
National Instruments
0 Kudos
Message 4 of 5
(2,675 Views)
the subvi needs to be a template in order to show its front panel.

-Joe
0 Kudos
Message 5 of 5
(2,675 Views)