Incremental shaft encoders generate pulses as a shaft rotates to measure angular displacement digitally. Optical incremental shaft encoders are most common, using a fixed disc with one window and a rotating disc with two tracks of windows cut into it. As the discs rotate, light pulses are generated and counted to determine angular position. Digital shaft encoders output a binary number representing position instead of pulses. They use multiple tracks of windows on the rotating disc arranged in sectors to generate unique binary numbers for each angular position.