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