LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving user input

I am writing a code that allows the user to change colors on a waveform graph.

I would like to know how to:
the option of saving the current color scheme under some name prompted to the user. Then have that name saved so that the user can change is to that color scheme or add different ones.

0 Kudos
Message 1 of 2
(898 Views)

Hi,

 

I could not open your VI but I am sure that you can utilize Configuration File VIs  under File IO on the function pallet.

 

You basically would need to program such that you collect all the required data and and write it to an "ini" file. Flow would be like this: at the start of the program you read the ini and update your color scheme selector (I suggest using Ring control, as you can grow it as needed and write selector string values as needed using a property node). Log all the changes made by the user and write it to the ini file when a setting is updated and when the program closes.

 

Hope this helps.

0 Kudos
Message 2 of 2
(873 Views)