View Single Post
  #6   Spotlight this post!  
Unread 04-02-2012, 16:07
haljarrett haljarrett is offline
Registered User
FRC #4189 (Jackson-Barrow Robotics)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Jackson Co, Georgia
Posts: 5
haljarrett is an unknown quantity at this point
Re: How to Invert the motors?/ Programming joystick Buttons? LabVIEW

I had a similar problem loading code. In LabView, there are 2 ways to load and run your code. From robotmain.vi, you can click the run button to send your code to your robot in interpreted/connected mode(you run connected to your front panel actively). As soon as you lose power, though, that running code is dropped. This mode is great for debugging. To make your code stay on the cRIO, you must build a Real-Time application(.rtexe) out of your code. To do this, expand the tab that says "Build Specifications" under "RT CompactRIO Target(10.xx.yy.2)". There should be node that says "FRC Robot Boot-up Deployment" Right click and select "build". It will take several minutes to compile the code. When it is done, right click and select deploy. When that is done, either reboot your cRIO or cycle the power. Your code will now be persistent.
Reply With Quote