Go to Post Pneumatic components always give me gas... - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > 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 01-20-2010, 05:44 PM
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Exclamation cRIO random connection failure

Our team uses a cRIO from last year, which should be the same as they have this year. Our software and firmwares are all updated to the latest version. Today, we flashed the cRIO because our laptops were not connecting to it last night, and it connected once and deployed code just fine. But we turned the robot off and when we deployed code the second time, it no longer connects. Same thing happened last night: works some of the time after we power cycle everything but mostly refuses to connect. How would we fix this?

Our configurations:
Laptop IP: 10.30.70.6
Wireless Router IP: 10.30.70.4 (gateway)
Robot Wifi IP: 10.30.70.1
cRIO IP: 10.30.70.2

Setup:
Laptop-(eth)->Router-(wifi)->Robot Wifi-->cRIO

Testing results:
ping 10.30.70.6: pinging localhost works
ping 10.30.70.4: connects to router fine
ping 10.30.70.1 or 2: request timed out

Driver Station Output: "No Robot Communication"
Reply With Quote
  #2   Spotlight this post!  
Unread 01-20-2010, 06:24 PM
synth3tk's Avatar
synth3tk synth3tk is offline
Volunteer / The Blue Alliance
AKA: David Thomas
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Ohio
Posts: 2,012
synth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond repute
Re: cRIO random connection failure

Have you tried a hardwire setup, just to see if it's a networking issue? Plug an Ethernet cable from the router to port #1 on the cRIO, just to see what happens.

EDIT: You're not alone, apparently: http://www.chiefdelphi.com/forums/sh...ad.php?t=80393
__________________
Quote:
The difference between theory and application is that in theory, theory and application are the same; In application, they are not.

Last edited by synth3tk : 01-20-2010 at 06:37 PM.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-21-2010, 07:33 AM
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: cRIO random connection failure

Thanks for that cross-link to the other thread. It's a little confusing to have discussions in the "parent" forum, and the "child" forum at the same time.

I have 2 theories in that other thread. One involves problems when going back and forth between tethered and wireless ... and the other is related to wireless only.

I'm leaning towards a theory involving a boot-up race condition. See the other thread for the details, but, in a nutshell, our theory is that the cRIO boots up faster than the wireless bridge causing the cRIO network port to time-out.

Resetting the cRIO after the bridge is up appears to fix the problem for us.

(your mileage may vary)

edit: I just posted a question on the NI forums. Perhaps their engineers could shed some light on this theory.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics

Last edited by Ziaholic : 01-21-2010 at 07:59 AM. Reason: update
Reply With Quote
  #4   Spotlight this post!  
Unread 01-22-2010, 07:59 PM
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: cRIO random connection failure

Thanks for your help. Unplugging and plugging the cRIO back in works for us too.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-22-2010, 08:40 PM
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,861
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: cRIO random connection failure

The boot order does seem to provoke an issue, and we are investigating it. It appears to be an issue with how the game adapter/bridge computes its routing table. In the meantime, the warm reboot of the cRIO will correct the issue.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 01-23-2010, 04:38 AM
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,014
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: cRIO random connection failure

Please see the explanation of the issue and resolution here: http://www.chiefdelphi.com/forums/sh...071#post905071
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
Windriver connection to cRio avolkov Programming 6 05-05-2009 07:40 AM
cRio keeps on staying red on the lab view connection test bio hazard Programming 1 02-14-2009 06:45 PM
Connection with cRIO nadavsen2 Programming 4 01-29-2009 02:13 AM
cRIO configuration issue- serial connection to laptop Torbots 1197 FRC Control System 5 01-28-2009 09:28 PM
cRio losing connection when "run as startup" mgurgol Programming 2 01-12-2009 11:18 AM


All times are GMT -5. The time now is 07:09 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi