11-29-2022 05:06 AM
Hello,
I have an application of which sporadically find running 10, maybe 40 times. I can only close the application exe in windows task manager.
Have you got any ideas what can cause this to happen?
Kind regards,
Balzs
11-29-2022 05:52 AM
Hi Balzs,
@LTBALAZS wrote:
I have an application of which sporadically find running 10, maybe 40 times. I can only close the application exe in windows task manager.
Did you enable the executable to run multiple times in parallel?
11-30-2022 09:46 AM
Hi,
Thanks, i'll give it a try 😉
Balazs
11-30-2022 10:17 AM
As Gerd said, applications typically only have one instance (Unless you enable multiple instances, a rare, non-default option).
Do you really have 10+ instances of the same toplevel program running in parallel or are you saying that if you try to end it, it will start over? Could it be that your program launches N reentrant instances of a certain subVI? We definitely need more details.
If you cannot stop the application, I assume you have a coding error. How is ending the program handled? (stop button? Panel close event?) Is the code trapped somewhere in an infinite loop?
12-01-2022 02:45 AM
Guess: You spawn some dialog window that you close without exiting so it continues to run in the background?