3.1.2 - Dice Throws Response

Download and open the VI DiceThrowsResponse.vi

  1. Add a case structure under "Kast"
  2. Connect the sum of the dice to the selector terminal
    1. Marked with a question mark on the left side
  3. Edit "0, Default" and change it to "2, Default" (click inside the string and replace the value)
  4. Move the string "Snake eyes" outside the loop into this element
  5. Connect the string with respons on the right
  6. Choose the next element (1) and change the value to 3..6 (the way to write 3-6 in a case structure)
  7. Move the string next to 3..6 inside this element and connect it to respons
  8. Add case elements for each of the strings under the for loop
    1. Right-click the edge of the case structure and choose "Add element"
    2. Move the strings inside and connect them to the response
  9. Run the VI (NOT continuously) and observe the result
  10. Save your VI
Skærmbillede 2013-04-17 kl. 21.55.07


Created by Samuel Thrysøe © 2013