A function generator is electronic test equipment that generates standard waveforms, such as sine, square, ramp, or sawtooth waves, to a device under test (DUT). In circuit design and boards, testing often requires a controllable signal to simulate regular operation.