Oli;
About setting default values at run-time. I think one of the best alternative is to create a text file to store, modify and retrieve the desired default values. When the VI start, it read the text file and modify the controls initial values. Then, to set new defaults, include a button in your VI like "set new defaults", and when pressed it modify the text file with the new values.
Doing a search in "defaults" I found more adequate methods for implementing this approach. In a recent posting, Rejean Lafortune pointed out to an article with title "Remembering Control Values". The link to the article is:
http://www.ltrpub.com/pdf/excerpts/AEremember.pdf
The discussion thread is:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000
80000004C180000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
In another related discussion, Johannes Niess mentioned that LabVIEW allows you to read and write .ini files. The thread of that discussion is:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000C1010000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
I'm going to try that approaches too.
Best regards;
Enrique Vargas
www.vartortech.com