View Single Post
  #2   Spotlight this post!  
Unread 18-01-2011, 07:01
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,751
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: How come endless loops don't stop the code?

This simple motor control VI is simply demonstrating how to do a quick test. You are correct that this is probably not how you want to do it on your robot. Once you enter the loop, that code will not exit the loop until its stop button is pressed. Additionally, it has no delay in the loop. Later in the PDF, it adds other components that effectively build a small RobotMain that only controls the one motor.

Greg McKaskle

Last edited by Greg McKaskle : 18-01-2011 at 07:01. Reason: spelling
Reply With Quote