Go to Post you must do whats best for the company...not yourself. - Greg Perkins [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 05-03-2012, 21:18
grosh grosh is online now
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
CPU usage 100% & twitchy robot?

When we enable our robot the code seems to run fine for a couple of seconds then it becomes twitchy and/or laggy. What I mean by twitchy is the light on the motor controllers flicker periodically and the motors controlled by joystick buttons do not respond quickly. Also, the CPU usage on the DS graph changes from 65% to 100% at the same time that the robot seems to become twitchy. In previous years we have had much larger code without problem.

In addition, when I put probes in the teleop vi the probes indicate that the code is running perfectly. However, the motors on the robot do not.

I have included a picture of our teleop code. Any ideas?
Attached Thumbnails
Click image for larger version

Name:	LabView Code_Teleop.jpg
Views:	70
Size:	5.2 KB
ID:	12211  
Reply With Quote
 


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 11:13.

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