View Single Post
  #4   Spotlight this post!  
Unread 22-02-2012, 12:03
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Vision processing works in RUN, not in START-UP

Quote:
Originally Posted by ehlochbr View Post
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.
Reply With Quote