03-08-2022 11:50 AM - edited 03-08-2022 11:52 AM
So LabVIEW claims (here) that by default multiple instances of an application cannot be run simultaneously.
The above link also gives instructions for how to allow multiple instances if so desired.
When I run my application on my development machine, this holds true. We are only able to launch one instance of the application.
However when I run my application on our target machines, this does not hold true. We are able to launch multiple instances of the application.
In the above article it mentions that you can add the below to the file to specify that multiple instances are allowed. This line is not present in my application. Furthermore, I even specifically set this parameter to FALSE and was still able to launch multiple instances of my application.
allowmultipleinstances = TRUE
If anyone has some knowledge on this area it would be greatly appreciated!!
03-08-2022 12:17 PM - edited 03-08-2022 12:18 PM
Hi Neil,
How are you installing the application to your target machine?
Which operating system is your target machine running? How about your development machine?
Which LabVIEW version are you using?
03-08-2022 01:39 PM
Hi Greg,
I'm installing the application via an installer created through the LabVIEW IDE.
Target Machine: Windows 10
Development Machine: Windows 10 Enterprise
I'm running LabVIEW 2017 SP1 (version 17.0.1, 32-bit)
03-09-2022 07:30 AM - edited 03-09-2022 07:48 AM
You're not alone:
Multiple executable instances running without AllowMultipleInstances set in INI file - NI Community
This is on Windows IoT, but I wander if DDE is somehow disabled, or inaccessible (user rights?).
Apparently, for some Windows 10 builds DDE has been a problem: DDE communication in windows 10 not working (microsoft.com)