Go to Post At this point (after shipping the robot), I'm really looking forward to doing laundry, eating a square meal, and getting to bed at a reasonable hour. - Emily Pease [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 13-03-2013, 16:29
eruiz22 eruiz22 is offline
Registered User
FRC #4210
 
Join Date: Feb 2013
Location: South Gate
Posts: 29
eruiz22 is on a distinguished road
What do these errors mean & how can I fix them?

"FRC: The loop hat contains RobotDrive is not running fast enough. This error can occur if the loop contains too much code, or if one or more other loops are starving the RobotDrive loop."

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

"Watchdog Expiration: System 1, User 0"

Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 13-03-2013, 16:32
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: What do these errors mean & how can I fix them?

Are you using the default code? What does your code look like? It sounds like you are getting stuck in a loop somewhere.
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-03-2013, 17:08
engunneer's Avatar
engunneer engunneer is offline
Alumni turned Mentor
AKA: Branden Gunn
FRC #4761
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 864
engunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond repute
Re: What do these errors mean & how can I fix them?

IMHO, well-architectured code should not have loops in Teleop or auto. Let Robot main handle the looping, and do all periodic things like setting motor outputs in periodic tasks. teleop and auto should be used for math, but not generic looping.

small loops that have a known end (a few iterations to calculate or something) are ok.
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2017)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes
Reply With Quote
  #4   Spotlight this post!  
Unread 13-03-2013, 23: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: What do these errors mean & how can I fix them?

The first error normally means your Teleop vi is taking too long to execute. That can be due to long-running loops or explicit delays in Teleop, neither of which is a good idea. Or it can be due to another loop elsewhere (e.g. in Periodic Tasks) that is using up all the cRIO's processing cycles, which can happen if you fail to throttle it with a Wait in the loop.

The second "error" is just to record what devices the Driver Station is able to detect on the network. The one you retyped does have an unusual feature: the D-Link router is not responding, but the cRIO is. That's not supposed to happen. Are you perhaps patching your Driver Station computer directly to the cRIO using a single Ethernet cable? You really should never disconnect the cRIO from the D-Link.

The third error is something that happens often when the robot transitions from Autonomous to Teleop. If it only shows up once, with the System count as 1, it's not a problem. If the System count starts increasing, that's something you will need to look into.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-03-2013, 14:32
eruiz22 eruiz22 is offline
Registered User
FRC #4210
 
Join Date: Feb 2013
Location: South Gate
Posts: 29
eruiz22 is on a distinguished road
Re: What do these errors mean & how can I fix them?

In Teleop, I have 3 case structures. I have a flat sequence structure in one of my case structures.

I used two of the case structures to reduce the speed of motors. I used the flat sequence stucture to have a motor pivot an arm forward and backward.

Does the flat sequence stucture wihin the case structure produce the error that indicates an overflow of code?
Reply With Quote
  #6   Spotlight this post!  
Unread 15-03-2013, 15:59
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: What do these errors mean & how can I fix them?

It would be simpler if you just posted a screenshot of your code, or attached the vis themselves. (screenshots are generally easier to read)
Reply With Quote
  #7   Spotlight this post!  
Unread 15-03-2013, 17:24
engunneer's Avatar
engunneer engunneer is offline
Alumni turned Mentor
AKA: Branden Gunn
FRC #4761
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 864
engunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond repute
Re: What do these errors mean & how can I fix them?

Quote:
Originally Posted by eruiz22 View Post
In Teleop, I have 3 case structures. I have a flat sequence structure in one of my case structures.

I used two of the case structures to reduce the speed of motors. I used the flat sequence stucture to have a motor pivot an arm forward and backward.

Does the flat sequence stucture wihin the case structure produce the error that indicates an overflow of code?
flat stuctures need to complete completely (all frames) before the vi can continue. I advise against them, and prefer state machines using case structures.
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2017)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes
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


All times are GMT -5. The time now is 22:51.

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