08-20-2015 01:41 AM
Dear Sir,
I want to auto update the default values of controls. That means initially I assigned the default values after that I will change to some other values and closes the VI or EXE and again reopens the VI or EXE, the controls should open with last changed value. Those should not open with initial default values. Kindly let me know the procedure to implement.
Thanks & Regards
S Nagaraju
08-20-2015
02:15 AM
- last edited on
01-06-2025
10:24 AM
by
Content Cleaner
This is a million times asked question in this forum. Search for the keyword: "configuration file".
http://www.ni.com/tutorial/3478/en/
So if you run a VI from the Dev environment, you can change the default values easily by right click.
If you use an EXE, there is NO way to change the default values. You must use config files to store and restore for example control values of your application.
08-21-2015 12:45 AM
Hello sir,
Your telling about configuration file. Shall i use "Make current values default" function in invoke node??
Regards,
S Nagaraju
08-21-2015 12:51 AM
You should use config file as i said. That invoke node only works in edit mode of a VI. You cannot use it for a running VI or for an EXE.
08-21-2015 02:52 AM