LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

state of exe front panel

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?

_____________
Creator of the BundleMagic plugin for LabVIEW!
0 Kudos
Message 1 of 3
(2,267 Views)

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.

0 Kudos
Message 2 of 3
(2,255 Views)

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

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 3 of 3
(2,224 Views)