Quote:
Originally Posted by ehlochbr
In our code, we noticed that each time the project was restarted (like after a computer reboot) all the vision values that we had altered in the front panel of the vision.vi (vision size, particle count, intensity...etc) had changed back to their original setting. What we had to do was go and change all the controls in the vision.vi to constants in the block diagram editor so we could be sure that they wouldn't change when the code was initially started.
|
When you change the value of a front-panel control, you aren't modifying the default that it will have the next time the program is loaded. To make the new values persistent, use the Edit > Make Current Values Default menu option. Or, if you just want to modify one control's default instead of the entire front panel, right-click on that control and choose Data Operations > Make Current Value Default.