Go to Post And the only person who could really save my butt, Brandon Martus... is sitting across the table from me. Laughing. - Amanda Morrison [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 20-02-2013, 15:04
BigDaddyKane527's Avatar
BigDaddyKane527 BigDaddyKane527 is offline
YEAH WOO! WOO YEAH!
AKA: Rob Kane
FRC #0527 (Red Dragons)
Team Role: Mentor
 
Join Date: Jul 2011
Rookie Year: 2009
Location: North Massapequa, New York
Posts: 5
BigDaddyKane527 is an unknown quantity at this point
Smile Error 44061

Hello everyone! Sorry if this is in the wrong spot but I'm new to this.
Our code has been having issues with CPU usage. This happens in autonomous and in teleop. Suggestions for why this is happening would be greatly appreciated. Thank you!
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2013, 15:09
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Error 44061

Quote:
Originally Posted by BigDaddyKane527 View Post
Hello everyone! Sorry if this is in the wrong spot but I'm new to this.
Our code has been having issues with CPU usage. This happens in autonomous and in teleop. Suggestions for why this is happening would be greatly appreciated. Thank you!
We ran into this last night. Follow the instructions in the link below.

http://www.chiefdelphi.com/forums/sh...ighlight=44061
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #3   Spotlight this post!  
Unread 20-02-2013, 15:12
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: Error 44061

This message indicates that the loop that was calling RobotDrive isn't updating the output values as often as it said it would. The default is 100ms.

The most common reason for this is that your teleop function is calling RobotDrive and you have code that is sequencing through operations with relays or solenoids with delays in between, and this causes your teleop to miss the deadline.

Another reason is that the RobotDrive is placed into a case structure and it isn't being called to refresh the timer.

Do either of these sound likely?

Greg McKaskle
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 12:15.

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