02-07-2019 08:48 AM
I am looking to get the process that happens in the case structure to repeat or have the value of the iterations reset to 0. I need the case structure to repeat the pattern that it currently makes several hundred times but right now it just stops after 65 and runs the default value. I know there are issues with the proximity sensor portion of my code, please don't focus on that, I need help with the case structure stuff. Thanks in advance.
Solved! Go to Solution.
02-07-2019 08:56 AM
Hi JRyno,
I am looking to get the process that happens in the case structure to repeat
I guess you are talking about the case structure with cases like "55, Default" - and not those other 3 case structures…
or have the value of the iterations reset to 0
That's not possible, that "iterator" will always count up (to a limit of 2^31-1)…
BUT:
02-07-2019 09:02 AM
Yes I am referencing the case structure that has 55 set as its default.
When you say using the quotient&remainder operation to limit the counting range would that be the counting range for the iterations?
And ok I'll work on my own counter with a reset when it hits a certain number, thanks.
02-07-2019 09:11 AM
02-07-2019 09:17 AM
Thanks, sometimes there's a solution so simple you don't even think about it.