"Reset Rotation" functions in Modkit

Hi,
Just wrote a program to read the motor rotation data , due to the need to measure the rotation several times, so I insert the ‘reset rotation’ block and want it to somehow reset the readings.

But after I download the code and run the program, it seems the ‘reset rotation’ commend do not take in effect, the readings is not reset to zero.

Is there anything I need to consider?

Thanks for your feedback!