LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to capture user's preferences?

Hi,
I have a VI that always asks the user to select the colors that he wants to be used in the display. Is there any way to save the settings that the user sets such that the next time a particualr user logs in, his/her settings will be remembered? I am just looking for suggestions/broad ideas of how I should go about accomplishing this,
Thanks,
Alex
0 Kudos
Message 1 of 3
(2,675 Views)
You could use a config file to hold the preferences. Use the Configuration File VIs under the File I/O palette. Read from the file at the begining of the vi to set things up, then save the file at the end if the user changes any preferences.

Hope this helps!

Brian
0 Kudos
Message 2 of 3
(2,675 Views)
If you want to use it for different users, i prefer to use the registry
VI's. They are avaible with LabVIEW 6i under Advanced -> Registry.

Henrik


Brian Vibert schrieb in im Newsbeitrag:
506500000005000000B0350000-993342863000@exchange.ni.com...
> You could use a config file to hold the preferences. Use the
> Configuration File VIs under the File I/O palette. Read from the file
> at the begining of the vi to set things up, then save the file at the
> end if the user changes any preferences.
>
> Hope this helps!
>
> Brian
0 Kudos
Message 3 of 3
(2,675 Views)