LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I allow the end user to set default value for path control in a runtime application?

I want to allow the end user of a run-time application I created to be able to set the default value of a path control on the front panel.  Looking at the runtime menu editor, the "make current..." is shown in the preview, but it is not on the actual menu...
0 Kudos
Message 1 of 3
(2,715 Views)
You can't do that anyway. The default values are saved as part of the VI and a built application can not do that. Instead, you will have to do this yourself by saving the data to a file, loading it and wiring it into a local variable of the control. You can do this, for example, with the configuration file VIs or, if you want to rely on the good work that other people already did, you can go to the OpenG site and download their file package, which includes saving control values to INI files.

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,710 Views)
Thanks.  That was the best explanation I have read on this subject.
0 Kudos
Message 3 of 3
(2,696 Views)