Can anybody tell me why this function dies out after about 20 minutes? It works fine, and then will freeze and turn off.
John_D (John D) #1
Chris_Parton (Chris Parton) #2
Hi @John_D , idex is probably overflowing to a negative number, which is returning a negative number when you use it in the modulus operation. Try making idex an unsigned integer?
Andrew_Tuline (Andrew Tuline) #3
Further to that, I’d be making everything unsigned.