Log in

View Full Version : How to upload our code to the cRIO?


jalozinski
29-01-2014, 19:15
We have the Driver Station opened and our code prepped. How do we upload the code to the robot? (We're using Netbeans and Java)

IIRC, when we edited and saved the code in Netbeans and recompiled, it would effect the robot, so I think that it had something to do with the plugin. (or netbeans was consistently building to the same filepath and the driver station software was passing it to the cRio, idk)

s

sergioCorral842
29-01-2014, 19:18
We have the Driver Station opened and our code prepped. How do we upload the code to the robot? (We're using Netbeans and Java)

IIRC, when we edited and saved the code in Netbeans and recompiled, it would effect the robot, so I think that it had something to do with the plugin. (or netbeans was consistently building to the same filepath and the driver station software was passing it to the cRio, idk)

s

Pressing the run button (F6) on netbeans should download the new code to the robot, assuming you are connected to the robot properly through wifi or ethernet.

yash101
29-01-2014, 21:10
Press the play button to debug on the cRIO. I believe there is a deploy button to get the cRIO image downloaded to Flash!

Joe Ross
29-01-2014, 22:27
I'd recommend reading through the documentation: http://wpilib.screenstepslive.com/s/3120/m/7885