LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Determining if LabVIEW is open from a built application

I'm trying to determine if the LabVIEW environment is open from a built LabVIEW application. Is there an ActiveX property or method that tells me what apps are in memory? Maybe something in the Windows API?

Any info would be appreciated.
John
0 Kudos
Message 1 of 6
(3,130 Views)
I use the Open G Tools for that situation. The Get Task List.vi will return an array of strings listing the running applications.

Michael Munroe
www.abcdefirm.com
Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.1, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 2 of 6
(3,130 Views)
If you are only interested to know if your VI is of built application or is of development VI... perhaps this will be able to tell.

ian
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Message 3 of 6
(3,130 Views)
Thanks Michael,
I received another suggestion on how to use the Windows API (User32.dll) to detect LV in the background which worked very well. I'm going to take a look at the site you referenced also.
Thanks again for the response,
John
0 Kudos
Message 4 of 6
(3,130 Views)
Thanks Ian,
Actually, I already know that my VI is built as an application. What I needed to do was give my built application the ability to see if the LabVIEW environment is open on the local system. Someone sent me a suggestion to check the Win32 API (User32.dll) and it worked very well.
Thanks again for taking the time to respond,
John
0 Kudos
Message 5 of 6
(3,130 Views)
Why don't you just use a property node and use the application>>all vi's in memory. This will work fine in an executable or a DLL.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 6 of 6
(3,130 Views)