Go to Post I can follow directions, but if it's not in the directions, I'm lost. - rclothier [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 09-02-2010, 21:07
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
No Robot Communications

Our cRIO suddenly stopped communicating. I was running new code as a startup (we use LabVIEW by the way) and the deployment failed twice due to losing connection with the cRIO (which was odd in itself). The third time it succeeded, but when it rebooted the DS didn't get any communication from it. After rebooting it a few times, I tried pressing the reset button on the cRIO, since so many teams are having the problem where the cRIO boots before the wireless bridge, and the way to solve that is apparently to press the cRIO's reset button. That didn't work though, even after trying it repeatedly interspersed with more reboots. Until now, the only wireless connection issue we had had was initially, when we got a sporadic connection since we had some IP addresses set wrong. So I tried tethering the DS to the cRIO. In fact, I tried it with both of the crossover cables we have, since sometimes the wired connection will fail to work until we switch crossover cables, although which cable works varies. Through all of this, the best I could ever get was that when I was using the wireless connection and reset the cRIO, I would momentarily get "No Robot Code" before it returned to "No Robot Communications".
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2010, 23:33
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: No Robot Communications

New Development: we booted the cRIO in safe mode, then back out of safe mode, and now when we boot the cRIO while it is connected by one of the crossover cables (not with the other or with wireless) it will get through the normal amount of time displaying "No Robot Code" and show "Teleop Disabled" for about a second before losing communications again. Oddly enough, during the brief time it is connected, it produces error #-63195 (The handle for device communication is invalid or has been closed. Restart the application) twice, for each of the two servos the code refers to. Once we also got the same error on the DIOs referred to, and a -44036 (An invalid set operation occurred, and the PWM channel was not allocated) from on of the servos (we've gotten that code before when we accidentally tried to open the same PWM channel twice). Everything but the servos is not plugged in, and yet most of it is not throwing any errors. The gyro especially we have never plugged in and the code always produces a stream of errors about that, but there aren't any errors about it now.

Last edited by alex42 : 09-02-2010 at 23:53.
Reply With Quote
  #3   Spotlight this post!  
Unread 10-02-2010, 00:07
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: No Robot Communications

Sounds like you have a corrupted firmware on the cRIO. If you can get a stable enough connection to it you could try re-formatting it. If you can't hold a connection you should contact National Instruments immediately for a replacement. I think the instructions were in a recent e-mail from FIRST
Reply With Quote
  #4   Spotlight this post!  
Unread 10-02-2010, 00:16
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: No Robot Communications

That's our plan. Since the amount of time the connection lasts is very consistent and nowhere close to long enough, so we're calling NI first thing tomorrow morning. We're just checking in case someone has a cheaper solution than getting a new cRIO.
Reply With Quote
  #5   Spotlight this post!  
Unread 10-02-2010, 20:42
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: No Robot Communications

It would seem we managed to get the code in an infinite loop that prevented anything else from running (such as the communications loop). Once we found out that there was a switch on the cRIO that would prevent it from running code on startup, we were able to reimage it and then the code was easy to fix. The switch is labelled something like "no app".
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
No Robot Communications Team2191 FRC Control System 1 22-01-2010 20:12
Team Communications wrenauld Rules/Strategy 5 24-01-2007 14:01
Serial Communications 6600gt Programming 14 28-06-2006 23:24
Radio Communications... Dan 550 General Forum 9 29-12-2001 17:00


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

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