LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I build a multi instance application?

Solved!
Go to solution

How can build an application (exe file) that can be running in multiple instances (like notepad)?

I select the vi properties.execution.reentrancy.preallocated clone reentrant execution but after building the application, the exe file can be run only into one instance. Double-clicking on the exe file for second time don't open a new instance. 

0 Kudos
Message 1 of 3
(2,741 Views)
Solution
Accepted by topic author Marinica

If you add the line allowmultipleinstances=true to the EXE's INI file under the application's section, every call to the EXE will create a new instance. Note that if you use shared resources (hardware, files, etc.), you will have to account for that.


___________________
Try to take over the world!
Message 2 of 3
(2,720 Views)

It works!

Thank you.

0 Kudos
Message 3 of 3
(2,705 Views)