![]() |
Robot Code and Communications disappear when Enable is pressed
I have been able to successfully upload code to the cRIO and the Driver Station acknowledges its presence. However, when I click "Enable", both the Communications and Robot Code lights go out on the Driver Station. This problem does not happen with Example code, only with other code I provide. Is there any hardware or code-related reason that this could happen?
|
Re: Robot Code and Communications disappear when Enable is pressed
The same thing happened to us just today. We appear to have 'fixed' it by commenting out any code which deals with switches/buttons on the driver station [we are testing stuff on last year's bot and DS].
I'm guessing there could be other problems [we saw a watchdog error at one point....] but if you've got any switch/button stuff going on, try commenting it out. Hope that helps, we pulled our hair out over it.... |
Re: Robot Code and Communications disappear when Enable is pressed
I would make sense that the robot code light would go out if your software is crashing when you enable. If both are really going out maybe you are pegging the cpu and so the cRIO can't maintain the comm link anymore either.
|
Re: Robot Code and Communications disappear when Enable is pressed
Unless you peg the CPU in a realtme thread, the comm and code light should not be impacted by user tele code. Instead, watch the LEDs on the cRIO to see if it is rebooting. That is the most likely cause. If that is the case, look at new tele code, or fire up the debugger.
Greg McKaskle |
| All times are GMT -5. The time now is 13:57. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi