11-08-2012 08:20 PM
I need to create a timed loop that will output the numbers 1-5 in sequential order and then reset this cycle. Example: 1-2-3-4-5-1-2-3...and so on. What is the best way to do this? Sorry for the noob question I just can't figure out how to do that.
11-08-2012 08:35 PM
What have you tried so far?
11-08-2012 08:47 PM
I was thinking a sequential structure unfortunately you cannot wire seperate sequences to one output like you can with a case structure. I tried using C++ code in a formula node to create a for loop/ if loop combination to increment the value and then reset it...I kept getting errors about not having proper inputs, missing (), etc.
11-08-2012 08:54 PM
Here's a hint. Look at the i terminal that is inside the loop. It is called the iteration terminal and will give you the count number of the iteration loop. With just a little bit of math on that, you can get the values you are looking for.
11-08-2012 10:35 PM
Was the pun intended RavensFan....."Bit of math" 🙂
11-08-2012 10:39 PM