to suppress torque variation including various frequency components , a lot of measuring and adjusting operations are necessary , and this takes much time and trouble . an electronic apparatus includes a selection unit configured to select , on the basis of a threshold value relating to speed variation of the mechanism and threshold values relating to a plurality of frequencies that constitute the speed variation , a frequency to be measured and a frequency to be suppressed , from the plurality of frequencies , a generation unit configured to generate a periodic signal including the frequency to be suppressed that is selected by the selection unit , and an acquisition unit configured to output the periodic signal generated by the generation unit to the control unit and to acquire a parameter relating to the frequency included in the periodic signal .