Hi Alejo,
if I get you right, you´re looking for a method to set something default programmatically everytime you end and restart your programm. When I´m right, there are two ways you can use:
1. You could always create your own "default" values by creating an .ini file. You can then save the values to the .ini file to change the default for the next run of the machine. The values are read in the initialization of your program and the values are written to the controls/indicators.
2. If you want to save it programmatically have a look here:
Feel free to answer if I was wrong with my understanding to your question.
Alex
NI Switzerland