Rotary switches can be used to replace the rotary pulse generators with analog functions of traditional resistance potentiometers. These rotary switches are usually used in the front panel of the instrument and the man-machine interface of the audio-visual control panel. The rotary switches use quadrature optical encoders to replace analog potentiometers. These rotary switches are similar in appearance to traditional or resistive potentiometers, but the internal structure of these rotary switches is completely digital and uses optical technology. Similar to traditional incremental encoder products, there are two quadrature output signals (channel A and channel B), which can be directly connected to the encoder processing chip.