LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I detect if I'm running a compiled versione of my application?

In my application I have included some special functions I don't want my customer to use. Since I will distribute the application as an .exe file, instead of cutting away those functions before releasing the .exe, I want to hide them when the application is runnig as an executable, and leave them active when running in the LV environment.

How can I detect if I'm running an executable or the LV environment? Do I have to scan the application name until I find an .exe different from labview.exe or there is another way to obtain the flag (something similar to CVI function InStandaloneExecutable() for example)?

Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 1 of 2
(1,285 Views)
An application property exists:Application:Kind
with the following values: Development System, Runtime System, Student Edition, or Embedded LabVIEW.
greetings from the Netherlands
Message 2 of 2
(1,285 Views)