Go to Post "Why yes, actually I AM a rocket scientist" - Gary Dillard [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2013, 17:11
dieDoktor dieDoktor is offline
Registered User
AKA: Kipling Cohen
FRC #4118 (Roaring Riptides)
Team Role: Mechanical
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Gainesville
Posts: 32
dieDoktor is an unknown quantity at this point
cRIO & Lag Issues

We need help with our communications and connection lag. While being connected, our driver station gives us an error code every few seconds. The code is as follows:

Warning <Code> 44002 occurred at Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-GOOD, cRIO(.2)-GOOD, FMS-bad Driver Station

Can anyone help us, as this is causing us serious connection issues. They tend to happen at times that we are moving the robot, causing us to lose control and potentially damage ours and others robots.
  #2   Spotlight this post!  
Unread 17-02-2013, 01:40
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,112
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: cRIO & Lag Issues

That's not an error. It's only a "warning", and not much of one.

What it's actually telling you is that you have a GOOD link to the D-Link "robot radio" at IP address 10.41.18.1 and a GOOD link to the cRIO at IP address 10.41.18.2, both of which are exactly what you want.

It also tells you that you don't have anything connected to the physical Ethernet connector on your computer, that you don't have an extra router involved in the connection, and you aren't getting commands from a competition Field Management System. All of that is exactly what you should expect from a typical wireless connection to a robot.

So whatever communication and lag problem you're having, it isn't caused by that diagnostic message, and that message isn't saying anything that points to a problem.
  #3   Spotlight this post!  
Unread 17-02-2013, 09:49
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,751
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 & Lag Issues

You shouldn't receive that warning every few seconds. It is only produced when one of those items change. That means that you are guaranteed to get one when you connect and disconnect from the robot, and hopefully that isn't every few seconds.

There are log files produced by the driver station that will show you the messages and other values as you drive the robot. You may want to review those. I'd suggest getting the latest version of the DS from the NI site, driving the robot, and reviewing the log file using the Log File Viewer. If it doesn't make sense, please post the files and I'll help interpret what is in the data.

Greg McKaskle
  #4   Spotlight this post!  
Unread 17-02-2013, 10:38
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,112
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: cRIO & Lag Issues

Quote:
Originally Posted by Greg McKaskle View Post
You shouldn't receive that warning every few seconds. It is only produced when one of those items change.
If that's true, then there's apparently something wrong with our setup. Those warnings appear many times a minute on our system, cluttering the diagnostic display, and they always seem to say the same thing.

I'll double-check today to see if any of the ping results are actually shown as changing.
  #5   Spotlight this post!  
Unread 17-02-2013, 11:28
dieDoktor dieDoktor is offline
Registered User
AKA: Kipling Cohen
FRC #4118 (Roaring Riptides)
Team Role: Mechanical
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Gainesville
Posts: 32
dieDoktor is an unknown quantity at this point
Re: cRIO & Lag Issues

Quote:
Originally Posted by Alan Anderson View Post
If that's true, then there's apparently something wrong with our setup. Those warnings appear many times a minute on our system, cluttering the diagnostic display, and they always seem to say the same thing.

I'll double-check today to see if any of the ping results are actually shown as changing.
It too shows up for us multiple times during connection. I sure wish the warning could be more descriptive.
  #6   Spotlight this post!  
Unread 17-02-2013, 12:07
dieDoktor dieDoktor is offline
Registered User
AKA: Kipling Cohen
FRC #4118 (Roaring Riptides)
Team Role: Mechanical
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Gainesville
Posts: 32
dieDoktor is an unknown quantity at this point
Re: cRIO & Lag Issues

Quote:
Originally Posted by Greg McKaskle View Post
You shouldn't receive that warning every few seconds. It is only produced when one of those items change. That means that you are guaranteed to get one when you connect and disconnect from the robot, and hopefully that isn't every few seconds.

There are log files produced by the driver station that will show you the messages and other values as you drive the robot. You may want to review those. I'd suggest getting the latest version of the DS from the NI site, driving the robot, and reviewing the log file using the Log File Viewer. If it doesn't make sense, please post the files and I'll help interpret what is in the data.

Greg McKaskle
We are currently using Driver Station version 4.0.0.9, we have tried using the Log File Viewer. However, we are not experienced with it, and are not sure how to use it. We choose the file we want to read, but nothing shows up... There is no start button for us to use. We wish we could post our Log Files for you to use and help us, but the forum won't let them be attached. Would anyone be willing to have them e-mailed and checked?
  #7   Spotlight this post!  
Unread 17-02-2013, 14:51
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,751
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 & Lag Issues

The DS is set to ping the robot when the DS is on the Diagnostics tab and when the robot status packets time out. When pinging, the DS will add a message when something about the ping changes. I agree that this is noisy, but it is hoped that this will automatically sniff out what may have disappeared and record it in the log file.

As an example, if the cRIO crashes but the robot doesn't lose power, the status packets will timeout, the DS will start pinging and will clearly show that the radio was present. This helps to eliminate an overall power issue on the robot and points towards a cRIO power or cRIO code issue.

If you have log files, you can email me. If you don't know my email, PM and I'll give you one.

Greg McKaskle
Closed Thread


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


All times are GMT -5. The time now is 12:47.

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