View Single Post
  #6   Spotlight this post!  
Unread 26-01-2009, 21:02
surferacf's Avatar
surferacf surferacf is offline
Student Leader & Electrical Captain
AKA: Aaron F
FRC #3060 (The Fighting Tuna)
Team Role: Leadership
 
Join Date: Sep 2006
Rookie Year: 2004
Location: Thumb Knuckle, Right Palm
Posts: 45
surferacf will become famous soon enough
Re: Problem with tank drive

Are you saving that particular bit of code as a separate .vi, or is it a part of the Basic Robot Main.vi ? I know that the latter has a built in arcade-drive code, which might be superseding your code if you're deploying the entire project to the cRIO, especially with the "Stop" command in the lower right of the while loop set to "Always True"

I'd try changing that constant "True" to an indicator, changing USB 3 to USB 2 as Greg suggested, and deploying just that VI to the cRIO using the run button. If it works under those circumstances but not under a full deployment, you're probably going to have to go into the Robot Main vi and take out the default drive code (or even better, integrate the code you've written into the Robot Main!)

Hope this Helps
__________________
"Curiosity killed the cat, but for a while I was the suspect."
-Stephen Wright
Reply With Quote