Answers.Body: <ol>
  <li>A program should have only one "Start" block (the green play button).</li>
  <li>Your 3 segments of code are not linked together, you need to drag a "beam" from the exit of one loop to the block that should execute after the loop exits.</li>
  <li>You need to link the action of pressing the button to an exit condition for your loops. You are using infinite loops. The only way to escape an infinite loop is a Loop Interrupt block. Click on the infinity symbol on the loop blocks for more options.</li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-02T21:43:34.207Z
Answers.LastActivityDate: 2017-03-02T21:43:34.207Z
Answers.UserDisplayName: jlar310
Body: <p>I'm trying to make a program where an EV3 is IR controlled but if button 9 (toggle) is pressed it goes in autonomous mode. However, my EV3 will not run a certain loop in the program.  </p>
  
  <p>It looks like this:
  <a href="https://i.sstatic.net/2esJH.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/2esJH.png" alt="The big one won&#39;t run; no matter what I put in it"></a></p>
  
  <p>The big one won't run; no matter what I put in it.</p>
  
Tags: <ev3><software>
Title: EV3 won't run a certain loop
UserDisplayName: 1Somebody5
ThreadText: # EV3 won't run a certain loop
  
  (Asked by: username_0 on 2017-02-26)
  
  I'm trying to make a program where an EV3 is IR controlled but if button 9 (toggle) is pressed it goes in autonomous mode. However, my EV3 will not run a certain loop in the program.
  
  It looks like this:
  [![The big one won't run; no matter what I put in it](https://i.sstatic.net/2esJH.png)](https://i.sstatic.net/2esJH.png)
  
  The big one won't run; no matter what I put in it.
  
  **Tags:** ev3, software
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-03-02. Score: 0 | Accepted answer
  
  1. A program should have only one "Start" block (the green play button).
  2. Your 3 segments of code are not linked together, you need to drag a "beam" from the exit of one loop to the block that should execute after the loop exits.
  3. You need to link the action of pressing the button to an exit condition for your loops. You are using infinite loops. The only way to escape an infinite loop is a Loop Interrupt block. Click on the infinity symbol on the loop blocks for more options.
  
  
  ---
  
  