LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Prevent Multiple Instances

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!!

0 Kudos
Message 1 of 4
(1,385 Views)

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?

0 Kudos
Message 2 of 4
(1,370 Views)

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)

0 Kudos
Message 3 of 4
(1,346 Views)

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)

0 Kudos
Message 4 of 4
(1,298 Views)