by interrupting current to generate trains of pulses by periodically opening and closing contacts to generate trains of pulses