08-08-2017 05:56 PM
Currently I have a timer program interfering with the pressure conditioning program which reads pressure and output (in volts) and records the data on a separate excel sheet. The problem lies of having two programs running at the same time where the data is not copied at all. I am trying to implement a feature that detects other labview programs which if it's found will automatically shut down all labview programs. Is there a vi for this execution?
08-08-2017 06:13 PM
Is this in development or an executable? You can check whether a front panel is open or not using the "Front Panel Window.State" property. But, what do you mean your programs are "interfering"?
08-08-2017 06:15 PM
Check out this thread.
steve
08-09-2017 07:47 AM
If you're looking for another application, VI Server won't help you; you'll have to use Windows. This page has a little snippet that will close a program based on the window name.
08-09-2017 06:17 PM
Thanks a lot. This helps tremendously.
How would one go about in closing multiple programs at the same time? It seems that the snippet only checks one program with the specified name but how would you go about in closing >2 executables with different names.
08-09-2017 11:32 PM
Hi Reyt
The Problem is due to excel or because of another program running?
Its Quite possible to find the running Programs but then your program should run independent of other programs. so design your program in such a way that it handles the issue by itself without bothering about another application