LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

user sets default in app

Hi, is it possible to set a value as the default during run-time in a built app? I would like to have the user select the COMM port to use, but then have this selection as the default value so that the user does not have to change this setting everytime the app is run. Possible? Thanks for any help and/or suggestions, Madri
0 Kudos
Message 1 of 2
(2,444 Views)
Look at the File I/O>Configuration File VIs. With these, you create an ini file that contains the default. At the beginning of the program, read the value and set the control with a local variable or property node. There's shipping examples called Read Configuration File Settings and Write Configuration File Settings. Numerous other examples have been posted to this forum as well so you could do a search if you need more help.
Message 2 of 2
(2,444 Views)