View Single Post
  #4   Spotlight this post!  
Unread 04-02-2012, 21:32
BenGrapevine's Avatar
BenGrapevine BenGrapevine is offline
Head Programmer
AKA: Tony Simmering
FRC #2549 (Millerbots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Minneapolis, Minnesota
Posts: 46
BenGrapevine is an unknown quantity at this point
Thumbs up Re: How to deploy code?

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
2. Turn the robot on
3. Open the program cRIO Imaging Tool, and apply "controller settings" (or something like that) once it's detected the cRIO
4. Go the project folder for your program in labVIEW, find "Build Specifications" (usually at the bottom, never seen it anywhere else ._.) and right click on it
5. Click on "Build"
6. Once complete right click on "Build Specifications" again and this time click "Deploy"
7. Turn the robot off, and unplug the crossover
8. Place everything where it needs to be (ethernet back into the cRIO, etc)

It seems to stay on there for me, but I know last year we had to do something like this:

Quote:
Skip the "Deploy" step.
1. Build
2. Run as startup
Hope that helps (may not I'm a bit scatterbrained at the moment)
__________________
Millerbots Team 2549
orange and blue
Reply With Quote