|
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
|