10-09-2013 06:59 PM
Hello everyone,
I am calling a LV Runtime executable by path using the System Exec VI. If the call to start this VI happens when teh executable is already running, I would like it to come to the front. How can I do this?
I thought of the posisbility of setting a shared variable to alert the exe, or finding a way to detect/set the front panel state of the executable, which seems the best way. But I'm not sure how.
Thoughts?
10-09-2013 09:17 PM
1. Use task manager to see whether there are two programs running, https://decibel.ni.com/content/docs/DOC-25652.
2. Bring another Windows to front, https://decibel.ni.com/content/docs/DOC-4551
3. Stop current exe.
10-10-2013 09:10 AM
I'm not exactly sure where got the syntax for this, but it does check for what you need and tells you so. (You'll have to change a couple of minor things if you're not running a mass spectrometer.)
Cameron