Log in

View Full Version : FRC roboRIO connection issue/code deployment issue


Team3220
15-01-2015, 19:50
We are trying to deploy/run code. The Driver's Station is registering that we have communications/joystick but no robot code. We can only connect to the roboRIO via USB (not ethernet) for some reason, and when we deploy code from LabView, the Driver's Station doesn't register that we have robot code. What should we do?

timytamy
15-01-2015, 20:10
Could you confirm that when you're trying to use ethernet, your both connecting to the DLink?

Could you also post the output of "ipconfig" when you're connected via ethernet?

Grif
15-01-2015, 21:31
Hi Team3220

Just a quick question. Are you running the code locally on your computer or are you building it for the RoboRio? There are actually 2 ways to run labview code.

The first is to run the code by pressing the play button on the VI editor. This does not compile the program, this just runs it (if that makes sense). There will be a deploy screen open when this happens but no code is actually loaded onto the RoboRio (well at least that was the case for the CRio).

This would explain what your seeing.

The second is to build the code. This is done by navigating to the build tab in the project window. See the image bellow, you can see what i'm talking about right at the bottom. This actually builds the project and then loads it onto the RoboRio.

http://frc-labs.com/wp-content/uploads/2012/03/11.png

You must do the second option for loading code onto the RoboRio for competition (again this is from past year experience with the CRio but I don't think that has changed much).

Hope this helps.

Grif

Mark McLeod
15-01-2015, 21:53
You can also check in the RoboRIO Webdashboard (http://wpilib.screenstepslive.com/s/4485/m/24166/l/262266-roborio-webdashboard) to make sure that "Disable RT Startup App" is NOT checked.

Greg McKaskle
16-01-2015, 08:00
The Robot Code LED is based on calls inside of the framework. Are you using this years code template?

Also, the code has been deployed, but I don't believe it is actually running until you close the dialog. You've done that right?

Once the code is running, in debug mode, can you open up panels and see that Robot Main is running?

Greg McKaskle