06-26-2002 07:08 AM
06-26-2002 07:34 AM
06-27-2002 10:44 AM
08-22-2009 11:14 PM
Hi,
How can I do this in Labview? Thanks.
08-24-2009 02:34 PM
A couple of comments:
1. You should post this on the LabVIEW board for more responses. This is for CVI, a C Development Environment.
2. You could use the Call Library Function Node to call the Windows SDK (EnumProcesses and Process32Next) and check to see if the process is running.
3. Better yet, if the crash that occurs does not kill LabVIEW, a better solution might be to create a top level VI that simply calls your VI in a loop. If your VI errors out, it simply returns to the top-level VI and re-starts in the next loop iteration.
03-10-2017 10:55 AM
CheckForDuplicateAppInstance only checks for a duplicate of the same executable, what if you have 2 Versions of the same Executable and try to run both? It appears that this does not catch multiple instances unless it is the exact same executable running.