09-05-2022 10:36 AM
Hi, I'm trying to get two loops to execute asynchronously. See the pictures attached. I'd like the left loop to execute every .5 seconds and the right loop to execute as fast as the cpu will allow. In my picture, both loops are limited to 500ms. How can I decouple these loops?
thx
Matt
09-05-2022 11:56 AM
@Matt927 wrote:
H How can I decouple these loops?
Both loops are in the same while loop, that is why they are coupled. Try separate while loops.
09-05-2022 12:46 PM - edited 09-05-2022 12:47 PM
Here's something to get you started.