Go to Post Welcome to the imperfect world of design! - Joe Johnson [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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
  #10   Spotlight this post!  
Unread 21-02-2012, 08:24
JSzaday JSzaday is offline
Registered User
FRC #3936
 
Join Date: Feb 2012
Location: Michigan City, Indiana
Posts: 3
JSzaday is an unknown quantity at this point
Re: Problems with LabView Default Code

Quote:
Originally Posted by MAldridge View Post
First off the help menu is your friend. If you goto help>explain error, you can type in that error and it will tell you what is wrong. In your case, that won't help though because that is an undefined error.

I suggest that you go to the robotdrive palet and get the safety config off the advanced palet. Wire it directly after the refnum get, set mode the enable and the timeout terminal to 5.

Be aware that this makes your safety thread significantly slower, so you will need to be sure that you have a hand near the E-Stop when you are working with the robot and it is not on blocks. Additionally, if it pulsing PWM 3, then somewhere, your code is telling it that that is the correct channel to use. I suggest you go back through and re-read you code. Also, If you say that you HAD working code, perhaps you should improve your backup system.

Good luck and don't hesitate to come back if you have further questions.
Quote:
Originally Posted by MAldridge View Post
On the original issue, if you are using the KOP ribbon, you should read this:
http://www.usfirst.org/sites/default...structions.pdf
that would explain the mismatch of channels in software and hardware.
The back ups started failing after we drove the robot to a "before the bag competition." I came in to work on it the next morning and everything went wild (the robot started turning on it's own when we enabled it!). With all this talk about bad KoP ribbons, I wouldn't be surprised if that is what is causing all of our problems. Today when I go in, I will look into it. Do you know any places (like nation-wide chains preferably) where we could get a DB37 M/F Cable on the spot?

Quote:
Originally Posted by plnyyanks View Post
As fast as you tell it to be. The error is caused by the Motor Safety for the drive code (since the error cites RobotDrive as the error's source). That means that the code has exceeded the time limit (defaults to 100 ms) set for the maximum time between updates to a motor's speed (this prevents runaway motors). Each time you set a new value to the motor, the timer is reset until the next update. You can change the timeout for the safety by using the Safety Config VI (WPI Robotics Library->RobotDrive->Advanced) and setting the timeout to whatever value you want.
OK, thanks for this too, I will try and change this in the code.
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:39.

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