Go to Post Some call those dreams- others nightmares - Wayne C. [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-02-2010, 00:53
alex42 alex42 is offline
Registered User
FRC #1072
 
Join Date: Jan 2010
Location: San Jose
Posts: 36
alex42 is an unknown quantity at this point
Exclamation Help!

background: http://www.chiefdelphi.com/forums/sh...ad.php?t=81855

Since that thread, our cRIo died. We got NI to send us a new one, which arrived today. So, right after we run the new LabVIEW update and DS update on the classmate, we hook up the new cRIO, image it, and load our code. When the cRIO boots again, we see the intermittent "no robot code" problem has returned. We thought that was a cRIO problem, but apparently we were wrong. So, as a test, we run the default robot project. It seems to work fine (although we don't have any sensors connected other than the camera and we don't have any outputs connected besides a few jaguars, so there could be I/O problems we don't know about) except for the flashing of the status light. The status light, when the robot is set to engaged, gives the fast blink (indicating System error: No driver's station communication, bad cRIO Image, bad team ID, extensive communication errors.), more or less. Every two or three blinks, it would give one blink that was even faster, hardly more than a flicker. However, sometimes the faster blink would go away for several minutes. The DS was getting perfect communication, we had checked that the cRIO was set to the correct team number, and we had just installed the LabVIEW update, which contains the new cRIO image, less than an hour ago, so it seemed unlikely it had been corrupted. During our testing, we also noticed that the lights on the shelf the solenoid breakout board was plugged into weren't lighting up at all. We tried removing the shelves for the analog inputs and solenoids, but that didn't help. In the process of all this, we reimaged the cRIO repeatedly, so we decided to try my code again. It still gave "no robot code" intermittently. We determined that running from the front panel vs. running as a startup application made no difference for either problem. However, at one point during this testing, the default code failed to load, saying it was corrupted, but we recompiled it and then it worked. Then, the DS started saying the battery was at 00.00 volts. We switched batteries, which accomplished nothing, and then tried booting the cRIO into safe mode and then back out again. That also had no effect, and at that point we had to call it a night, having accomplished nothing more than establishing a lot of things that were not causing the problems.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2010, 17:29
alex42 alex42 is offline
Registered User
FRC #1072
 
Join Date: Jan 2010
Location: San Jose
Posts: 36
alex42 is an unknown quantity at this point
Re: Help!

I forgot to mention: the lights on the cRIO do not seem to be indicating any problem (at least when running default code; we forgot to check when running our code). None of the lights are blinking, at least, which some of them ought to be if there's a problem.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2010, 22:27
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: Help!

You're using some terms that I don't quite follow. What does "robot set to engaged" mean? What are the "shelves" for the analog inputs and solenoids?

When the Driver Station reported zero for the battery voltage, did you have power supplied to the Analog Breakout on the cRIO module in slot 1? That's where the cRIO reads the value from.

What Robot Signal Light are you observing, the big amber one or the little green one on the Digital Sidecar? When the big one is flashing, is the green one flashing exactly the same way, or is it on steady with a brief flicker off every second and a half?
Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2010, 22:54
alex42 alex42 is offline
Registered User
FRC #1072
 
Join Date: Jan 2010
Location: San Jose
Posts: 36
alex42 is an unknown quantity at this point
Re: Help!

Whoops, I meant to say "enabled". I might want to start proofreading my posts.

I generally use the words "shelf" and "module" interchangeably.

The Analog Breakout probably was unplugged at the time.

We didn't bother to check the little green light on the Digital Breakout board, since we know that the big light just echos the little light. We could check that though, and if it isn't blinking the same signal then we'll know something's very wrong.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIEW rokenboker NI LabVIEW 9 05-02-2010 17:10
Grab Frame - Help Help Help... nmihailidis Programming 2 04-03-2007 14:44
section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!) naor52 Programming 14 24-02-2007 01:19
Help: How do we get a teacher to help? (was: Help) ChaosAlchimey General Forum 13 21-01-2007 11:57


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

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