In all modern CRT monitors and televisions, the beams are bent by " magnetic deflection ", a varying magnetic field generated by coils and driven by electronic circuits around the neck of the tube, although electrostatic deflection is commonly used in oscilloscopes, a type of diagnostic instrument.