Clock problem please watch my block and solve it

blocks (3)

I set the timer interval 1ms, so in my block, every 1 sc should be generated 1000 number but I got only 50 per sc why?

It will be as fast as the function you call and your CPU clock.

smartphones can’t do all that in 1ms that’s just too fast but you can use system time