View Single Post
  #2   Spotlight this post!  
Unread 16-03-2011, 15:57
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Extender trouble

The SubVI inside the while loop will be called repeatedly with whatever values the buttons had when the loop began. The loop will never end, so it will never provide a value to the Arcade Drive function. Whatever vi this code is in will hang. If it's in Teleop, your robot will be disabled almost immediately by the communication watchdog.

Tell us what you intend it to do and we can probably tell you a good way to make it happen.
Reply With Quote