Hi all.
I have an application created in LabVIEW, and I built an executable file from it (Let's call it App1.exe).
While App1 is running it sometimes generates an exception and is aborted. The problem is that the Run-Time APP1.exe GUI remains open (Which is undesirable). I need a way to close it somehow. I realized that the only way to close it is from another application (Let's call it App2).This solution can be realized in 2 different ways:
1) App2 communicates with App1 and closes it if App1 is not alive. The problem is that sometimes App1 is simply working slowly because of system problems and I might shut it down even though It's still running
2) To somehow obtain from the Run-Time engine what's the state of App1. I think that this way is preferable but i don't know how to communicate with the Run Time Engine.
I'll appreciate any suggestions (Preferably with some kind of example code)
Thanks, Nadav
P.S. I'm using LabVIEW 8.2.1.