Go to Post ...I've changed my position. I'm fully supportive of Joe's suggestion... - Chris Hibner [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-01-2016, 17:57
DavidBosma DavidBosma is offline
Registered User
FRC #2957
 
Join Date: Jan 2009
Location: Alden-Conger, MN
Posts: 2
DavidBosma is an unknown quantity at this point
Error-44061

We are getting Error-44061 and the drive motor on one side is jerking and slower then the other side. Why?
  #2   Spotlight this post!  
Unread 16-01-2016, 21:15
protoserge's Avatar
protoserge protoserge is offline
CAD, machining, circuits, fun!
AKA: Some call me... Tim?
FRC #0365 (MOE) & former 836 Mentor)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Wilmington, DE
Posts: 754
protoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond repute
Re: Error-44061

If you provide more details I am sure you can get more specific help. What mode are you operating (auton or teleop)? Have you used the built-in help in LabVIEW? Do you have an unending loop?

Here are some results from a Google search for this error code:

Hopefully that gets you started.
  #3   Spotlight this post!  
Unread 17-01-2016, 08:37
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,752
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 error can happen for a number of reasons. The first thing I'd do is to open the DS and on the right bar, click on the middle tab to show the chart traces. The red one is the CPU usage of the roboRIO. If this is low and you are getting this error, it is because the code has an explicit wait or series of blocks in the place where the robotDrive is normally updated.

If this line shows that the CPU usage is at 100% for periods of time, this is more likely caused by a lack of wait functions in other loops. They hog the CPU and the robotDrive updates are late.

Another way to gain insight into how your code is running is to use the Elapsed Times VI, located in the Support Files of the roboRIO project. If you place this in your teleOp function, and anywhere else you are interested in the rate of execution. If it is placed in the same place as RobotDrive, it will keep track of the timings of the calls. If you are running the VI, and you open the Elapsed Times subVI, you will see the delay between subsequent calls. You can further modify this VI is you want better statistics or a trace or other information.

Also pay better attention to when this error shows up. If it happens only when a specific button is pressed, and a specific piece of robot mechanism is running, this is commonly caused by putting code directly into TeleOp that takes more than 100ms to complete -- either because of complexity, or more likely because of wait statements. You may choose to ignore those if the robot behaves normally, or you can move that code out of TeleOp and use a communication mechanism for TeleOp to start/stop the mechanism code.

Finally, if you want, you can disable the safety mechanism, typically in Begin. But this may only mask the problem -- which is that the code is taking over 100ms to update the drive motors.

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 02:40.

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