LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration File relative to Main VI or Executable

Hello together,

does somebody know how to address Configuration Files (INI-File) in the logic relative to the Main VI (Tool.vi) in case of "Full LabVIEW Session" and Executable (Tool.exe) in case of "Standalone Session" (e.g. \Cfg_Data\Tool.ini)?
Directory Structure:
- Example "Full LabVIEW Session":
C:\Tool_V120002\..
- Tool.vi
- Tool.ini
- Example "Standalone Session":
C:\Tool_V120002\..
- Tool_V120002.exe
- Tool.ini
Does exist a function like isdeployed in Matlab to detect if you run a "Full LabVIEW Session" or a "Standalone Session"?

Thanks for help and have a nice day.
Urs
0 Kudos
Message 1 of 2
(2,489 Views)
Hi Urs

I once made a simple vi (attached) to find out if the program is running as exe or in the LV-IDE.

Maybe this helps you.

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 2
(2,484 Views)