Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   FRC driver station issue with robot code (http://www.chiefdelphi.com/forums/showthread.php?t=133057)

icq10 17-01-2015 14:50

FRC driver station issue with robot code
 
We are about to test our robot, but we have a problem with the FRC driver station.

We are able to build and deploy our code onto the robot. When we start the driver station the robot is connected. But of the 3 status lights on the control the "robot code" is lit up in red. In order that it gets green, we have to go to our project and run our Robot Main.vi
Then it deploys the code again and everything works fine.

Why is the "robot code" status light not immediately green?

Thanks

lethc 17-01-2015 15:01

Re: FRC driver station issue with robot code
 
IIRC, you need to check a box to tell your code to run as startup when you deploy it.

Alan Anderson 17-01-2015 15:50

Re: FRC driver station issue with robot code
 
You should never have a reason to use the Deploy menu item. After you Build the code, use Run As Startup instead, to make sure that the program runs when the roboRIO starts up.

icq10 17-01-2015 17:54

Re: FRC driver station issue with robot code
 
Thank you! It works now!
It is nice to see such a helping community out here.


All times are GMT -5. The time now is 02:45.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi