LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Environment Mode

Solved!
Go to solution

Is there a way to determine if my application is run from the IDE or a stand-alone .EXE?

 

JY

0 Kudos
Message 1 of 4
(2,415 Views)
Solution
Accepted by topic author jeffyy
0 Kudos
Message 2 of 4
(2,403 Views)

Yes, have a look at this knowledge base article and look at the property node that has been used.

http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363

 

More specifically:

http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/app_appkind/

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 3 of 4
(2,394 Views)

There surely is.  There is a nice property node that will do exactly that (picture attached).

 

Application Control...grab a property node and place it on your block diagram...right-click on the property...select "Properties"...select "Application"...select "Kind".

 

The property node will return the environment.

 

Hope this is what you're looking for...

d

 

 

0 Kudos
Message 4 of 4
(2,391 Views)