the function generator
A function generator is the instrument that talks, while the scope listens. Often you cannot wait for a circuit to meet a real-world signal — you want to feed it a known, clean test waveform on demand and watch how it responds. The function generator is that obliging source: a box that produces sine waves, square waves, and triangle waves at a frequency and amplitude you dial in. Pair it with an oscilloscope and you have the classic stimulus-and-response duo: inject a known wave at the input, watch what comes out, and the circuit reveals its behaviour.
You set three things. Waveform shape: a sine to test an amplifier's gain and a filter's response, a square to probe edges and timing, a triangle for sweeps. Frequency: from a fraction of a hertz up to many megahertz, letting you sweep a filter across its passband or run a circuit at its working speed. Amplitude (and often a DC offset): how big the signal is and what level it sits on. Feed a 1 kHz, 100 mV sine into an amplifier and read 1.0 V out on the scope, and you have just measured a gain of 10 — directly, with real numbers, no guessing.
Why it matters: signal injection is the heart of testing a signal chain — you drive a known input and follow it stage by stage to find where it gets distorted or lost. One honest gotcha trips up almost everyone: a generator's output has a source impedance, classically 50 ohms, and its display is often calibrated assuming a matched 50 ohm load. Drive a high-impedance input instead (like an op-amp), and the actual voltage at your circuit is about twice the number shown. Always confirm the real amplitude with the scope rather than trusting the generator's dial.
To measure a filter's cutoff you set the generator to a 1 V sine and sweep its frequency while watching the scope. Low frequencies pass at 1 V; as you climb, the output starts to shrink, and at the frequency where it falls to about 0.707 V (the -3 dB point) you have found the cutoff frequency — the whole response mapped with one knob.
A clean known wave in, the scope reads what comes out — stimulus and response.
The classic factor-of-two surprise: with the generator set to a 1 V amplitude into a high-impedance input, the scope shows about 2 V, because the display assumed a 50 ohm load that is not there. Trust the scope, not the generator's number.