LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

On Building LabVIEW Execution file

I have always build my application into execution (*.exe) format after finish developing it in LabVIEW. And I always wonder why there is a configration file (*.ini) created when I run the execution program. And when I deleted it, it will be created again when I run the application again. This file existed in the same directory as the application's directory. I wonder what is the purpose of this file.
0 Kudos
Message 1 of 3
(2,771 Views)
This file holds the default settings of your application. You can mirror your Settings from the LV development system to your application. Some of the settings are only available in the development system some are also useful in an application like checking free disk space during start or setting the default fonts. You can copy this settings from the LabVIEW.ini file from your LV installation to the app.ini file. Be aware that the section has the same name as the application.
You can use this file to hold your own app settings. LV will not conflict with other sections in this file. You can change the sections with the program and the runtime will leave it as you have set them. Use the config file VIs to do that.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 3
(2,771 Views)
Hi,

You can use this file to store e.g. font information. If you create a
section [application name.exe] you can put the same tags in this section as
in labview .ini. The application will use tags. This is sometimes needed
when e.g. the default font of windows differs from where it was developed.
The LVRT engine will autoincrease the labels, and the application will look
messed up.

Perhaps the same applies to visa information and blink colors and speeds
etc.

Most of the times I use an ini file anyway, so I pick it's name to be
"application name.ini", and the fact that the LVRT uses it also, doesn't
matter.

Why this file is created, even when it's empty remains unanwsered...
Probably because it does no real harm if it's there, and it is a lot of work
to change
it.

Regards,

Wiebe.

"KF" wrote in message
news:506500000008000000E1C10000-1077587809000@exchange.ni.com...
> I have always build my application into execution (*.exe) format after
> finish developing it in LabVIEW. And I always wonder why there is a
> configration file (*.ini) created when I run the execution program.
> And when I deleted it, it will be created again when I run the
> application again. This file existed in the same directory as the
> application's directory. I wonder what is the purpose of this file.
0 Kudos
Message 3 of 3
(2,771 Views)