View Single Post
  #2   Spotlight this post!  
Unread 04-02-2012, 22:27
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,113
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: How to deploy code?

Quote:
Originally Posted by BenGrapevine View Post
I don't know about anyone else, but this is what I do:

1. Plug a crossover cable into the cRIO (unplug the bridge cord or whatever that is called (ethernet cable) that is currently in the cRIO and place that instead) and into the ethernet port on the PC that contains the code
You shouldn't be disconnecting and reconnecting things like that. You can have many things on the network simultaneously. Just plug the programming computer into the robot's D-Link router along with the cRIO. You can even connect the computer wirelessly, so you can do reprogramming without having to have the robot physically tethered to anything.

Quote:
3. Open the program cRIO Imaging Tool, and apply "controller settings" (or something like that) once it's detected the cRIO
There is usually no need to use the Imaging Tool unless you want to change which language you're using, or to load or remove a CAN plugin, or if there's an updated image released.

Quote:
5. Click on "Build"
6. Once complete right click on "Build Specifications" again and this time click "Deploy"
If you want the code to run on the cRIO each time it's turned on, it's generally a good idea to click "Run as startup" instead of "Deploy".
Reply With Quote