LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI is running on RunTimeEngine or Development environnement

Is it possible to determine if a VI is running using the RunTimeEngine or using the LabVIEW development environnement? In other words, is it possible to determine if the LabVIEW development application is installed on the computer on which the VI is running?
0 Kudos
Message 1 of 4
(2,551 Views)
See if this link make any sense?

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000000EAC0000&USEARCHCONTEXT_CATEGORY_0=_49_%24_6_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 2 of 4
(2,551 Views)
You can use the Application Kind property of an Application Reference. I have attached a VI in 6.1 to show this.

gluck!
0 Kudos
Message 3 of 4
(2,551 Views)
Very useful! I needed to know whether a vi was running in the development environment or from a compiled exe as the application path varies accordingly, with an extra 'layer' being added when the vi is running from a compiled exe.

For example, if you're trying to get the application path for app.exe containing app.vi, under the development environment, it is \path_to_app\app.vi while under the runtime environment, it is \path_to_app\app.exe\app.vi
0 Kudos
Message 4 of 4
(2,551 Views)