From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I want to write a DLL in C#. Unfortunately the library I use needs some configuration at startup, which is normally done in a config file 'applicationName.exe.config'. There's no way to change this configuration afterwards!? In which file do I have to insert these settings?
If you are using LV 7.x, you need to create a config file called "viname.vi.config" and put it in the same directory as the VI. However, you must start the application via this VI.
If you are using LV 8.x, it's easier - create a LV project and save it. The directory that contains the .lvproj file becomes your appbase for the .NET code and the myprojectname.lvproj.config becomes your config file.