View Single Post
  #9   Spotlight this post!  
Unread 24-03-2010, 17:18
Mentor1818 Mentor1818 is offline
Registered User
AKA: Christopher Barber
FRC #1818
 
Join Date: Mar 2010
Rookie Year: 2008
Location: Louisiana
Posts: 6
Mentor1818 is an unknown quantity at this point
Re: DS NO ROBOT CODE ERROR

Ok,

system=robot

I had no problem with the system working correctly at the Bayou Regional.

Once the system came back to the H.S. that I mentor it was discovered that when the robot was turned on and hooked via a patch CAT5 cable, instead of wireless the robot did not respond to any DS input or could not be enabled in any mode (auto/tele/practice) because the "No Robot Code" light in the Dashboard was not green.

I have always built the code, then deployed it as "Run as Startup"
This worked all through competition season till after the Bayou Regional once the robot was returned.

With the robot on, and the DS running I have a green communication light,

The error that is given to this day is as follows:
THIS IS THE ERROR FROM THE OPERATION TAB IN THE DS DASHBOARD WITH THE MOUSE ON THE ROBOT CODE INDICATOR
There is no user code running on the robot
1. If developing code use the tools to start it.
2. If ready for competition, build and deploy it as a startup application

THIS IS THE ERROR FROM THE DIAGNOSTICS TAB IN THE DS DASHBOARD
No change to Network Configuration: "Local Area Connection"
I/O unit not detected or not installed correctly.

The LED on the Digital Side Car the light is blinking slow, which means the system is disabled.

I have made a 32-pin test connector for the slot 6 DIO. On this connector I have an array of LEDs. I have determined that the digital sidecar DIO14 correspondes to pin 3 and have added code in the Begin.vi for the LED on pin 3 to light up once the code runs. You may say...."Well why not use the digital sidecar to light the LED..." I wanted to come directly from the cRIO to minimize other possible variables...

I do have a digital sidecar connected to slot 4.

So with the code deployed as "Run as Startup" and the DS software running, the Digital Sidecar in slot 4 has a status light blinking slow, and my test adapter has the LED on pin 3 which is DIO14 lit, which indicates that my code is running on the cRIO.

To test the real-time connectivity from the Classmate to the cRIO while a program is running in LabVIEW, I used my test connector on the slot 6 DIO and the example for a digital output to activate and deactivate the LED on pin 3. This worked successfully.

I am trying now to figure out where the DS DASHBOARD code is so I can set the Boolean value for the "Robot Code" to true and see if this fixes my problem.

Have I stated my situation clear enough??

Thanks
__________________
Christopher Barber

FLL/FTC/FRC Mentor 3yrs experience
Technology and Exhibit Support Engineer
Sci-Port Louisiana's Science Center

Intelligent Sensors and Actuators Group
-Wireless Sensor Networks
-Cooperative control of Micro Aerial Vehicles
Reply With Quote