A signal generator sends alternating current to the diode. An oscilloscope then measures the voltage response. This gives real-time analysis of the diode’s behavior.