Log in

View Full Version : cRIO is running code, Driver Station reports no robot code


eat4fun
05-01-2012, 01:25
First year working with LabVIEW (normally use Java) and we’ve been having trouble with our cRIO -- a smorgasbord of coding and technical problems.

I wrote a simple VI to blink LEDs on the cRIO depending on the game status (timeout v. autonomous/teleop disabled), and deployed it to the cRIO so that it runs at startup. The LEDs on the CompactRIO are blinking as expected; however, the FRC Driver Station application reports there being no code on the device. Probably a coding issue, but not sure.

Any idea as to what the problem may be?

Exhibit A: http://i.imgur.com/TX27v.png
Exhibit B: http://i.imgur.com/zqiWb.png
Exhibit C: http://www.quickmeme.com/meme/35n7f8/

NeatNit
05-01-2012, 09:26
Is that your entire Robot Main? You seem to have removed parts of it - maybe including the part that makes the driver station show robot code.

Alan Anderson
05-01-2012, 10:32
You should not be modifying the Robot Main vi. Everything you write should go in the Team Code heirarchy. To start with, look at Begin, Teleop, and Finish.