Go to Post I would much rather educate the audience than dumb-down the game. - dlavery [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 25-03-2010, 17:39
DWirth DWirth is offline
Registered User
FRC #2509
 
Join Date: Feb 2009
Location: Hutch
Posts: 10
DWirth is an unknown quantity at this point
Drive Motors Don't Run in Auto Indpndt

I've be troubleshooting my code for a couple hours now to no avail. I'm trying to make my drive motors run by using constants wired into a tank drive vi. After the tank drive vi, the is an error wire running to a watchdog delay and feed. I've had motors (not tank drive), limit switches and a relay to work after the motors. The watchdogs that delay the tank drives seem to work because my relay turns on the correct amount of seconds the motors should go for. Any ideas why my tank drive motors won't drive?
Reply With Quote
  #2   Spotlight this post!  
Unread 25-03-2010, 18:05
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Drive Motors Don't Run in Auto Indpndt

If they do drive in Teleop and not in Autonomous the most likely error is with getting the refnum. Make sure that the refnum you set in begin and the one you get in Autonomous are exactly the same, any spaces in the wrong spot will cause it not to work.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #3   Spotlight this post!  
Unread 25-03-2010, 20:04
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,748
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: Drive Motors Don't Run in Auto Indpndt

Look at the Diagnostics tab for errors that the auto code may be reporting.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 25-03-2010, 22:30
DWirth DWirth is offline
Registered User
FRC #2509
 
Join Date: Feb 2009
Location: Hutch
Posts: 10
DWirth is an unknown quantity at this point
Re: Drive Motors Don't Run in Auto Indpndt

Hey,
Thank you for the quick reply, I'll look at any errors it is reporting and I'll check the refnum name.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run auto? Tottanka Programming 16 01-04-2008 09:54
Motors Don't Run Windward Electrical 11 29-01-2007 08:13
Can't get auto mode to run with OI switches kiettyyyy Programming 11 15-04-2006 00:05
Auto run sirbleedsalot Chit-Chat 3 06-02-2005 00:17
24v Motors, run on 12v? Jacob Morgan Electrical 26 01-01-2004 23:11


All times are GMT -5. The time now is 08: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