A signal or function generator is a device that can produce various patterns of voltage at a variety of frequencies and amplitudes. A common use is to test the response of circuits to a known input signal. Most function generators allow you to generate sine, square or triangular AC function signals.