View Single Post
  #2   Spotlight this post!  
Unread 28-01-2012, 20:45
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: cRIO retaining code

Yes there is. It sounds like you've been running your code "through your computer" by pressing the Run arrow to the top of Robot Main.vi (I think the actual term is Deploy). Doing this will only keep the code running until the next restart.

Instead, you'll have to expand the Build Specification section in your project explorer. Then, right click on "FRC Bootup Deployment" and then select "Build". Wait for your code to build, and after that, go to the same menu and click "Run as Startup". This will cause the code to "stick" on your cRIO.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote