Go to Post Any mentor worthy of a WFFA would be delighted to see one of their fellow mentors receive the award. - dtengineering [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2015, 14:50
icq10 icq10 is offline
Registered User
no team
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Unknown
Posts: 24
icq10 is an unknown quantity at this point
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
  #2   Spotlight this post!  
Unread 17-01-2015, 15:01
lethc's Avatar
lethc lethc is offline
#gkccurse
AKA: Becker Lethcoe
FRC #1806 (S.W.A.T.)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2013
Location: Smithville, MO
Posts: 119
lethc will become famous soon enough
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.
  #3   Spotlight this post!  
Unread 17-01-2015, 15:50
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: 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.
  #4   Spotlight this post!  
Unread 17-01-2015, 17:54
icq10 icq10 is offline
Registered User
no team
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Unknown
Posts: 24
icq10 is an unknown quantity at this point
Re: FRC driver station issue with robot code

Thank you! It works now!
It is nice to see such a helping community out here.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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