A function generator is the most common type of signal generator. It generates simple repetitive waveforms of varying magnitudes and frequencies . It uses a signal generator circuit and an electronic oscillator to generate signals, which act as stimuli for testing and designing purposes.