Keeping track of repeated loops

uArm Serial No.: (the No. at the bottom of each uArm reading “UARM-XXXXXXXXXX”)

Firmware Version:

Operation System: Windows 10

uArm Controlling Method: uArm Studio

In Blockly, I can create a loop that makes it repeat an action any number of times. I go through about 200 loops. Is there a way I can make it give a counter to know how many loops I’ve been through?

Official Store
uArm User Facebook Group

English Channel

maybe you have to to it the “long” way…

PS: while loop all the way

Thanks for responding so quickly. Maybe I am missing something, but I don’t see where I can read the current value of “loop count.” My total loop takes several minutes (most of it waiting), and I need to run a large number of cycles. So I may walk away from the computer for hours and come back. How would I be able to see what number I am on? Sorry if I am missing something obvious.

If I use the “print loopcount” block, then it does pop up on the screen with the number, but the whole process stops until I hit OK and then it resumes. This won’t let me walk away from the computer.

I found a solution to this. Putting a command to print inside the loop lets me check what iteration I am on at any time without disrupting the cycle.