LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
huerttlen

Automatic ini files

Status: Declined

Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.

It would be nice, to have a checkbox "[x] automatically store/restore last setting" for every control.

 

It is annoying to restore a lot of settings at program startup from *.ini, and save current settings at program termination. Every time a control changes its value, I wish to have its current value stored and used as default at next startup.

13 Comments
asimpson
Member

huerttlen's idea makes perfect sense to me, and I'm not sure that I understand the objections.

In visual basic, the properties for controls have a 'property binding' section which does this exact thing. It simply saves the value of a control from one execution of a program to the next, without having to program the file writing yourself.

Say that my control panel has a settings section which includes a com port selection control for a piece of hardware; I don't want to set that value every time I open the program, but it might also change under certain circumstances. Rather than updating both the value and the default value every time it is changed, or wiring everything to write it to an ini file, this automatic feature could be used.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.

Intaris
Proven Zealot

You mean like logging front panel data?

Possibly one of the least-known and under-used LabVIEW features of all?

http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/logging_front_panel_data/