Synchronize two encoders

Greetings URCommunity,
In my application, I have two identical encoders. One of them is connected to the robot, the other to a camera. I would like to know if it is possible to synchronize them. For instance, the one connected to the robot has a different tick count than the one of the camera and I would like them to be the same. I can’t change the value of the camera one, so I was hoping I could switch the one of the robot

For example,
The encoder connected to the camera has a current tick count of 1000 and the robot has 3000. I want them to be always equal
Is it possible to synchronize them?
Best regards,
Pedro Monforte

I’m not entirely sure what you want to do.

Can’t you just write something in script to divide 3 the count from the second encoder?