Waveform generator (WG) is a piece of electronic test equipment used to generate electrical waveforms. These waveforms can be either repetitive or single-shot in which case some kind of triggering source is required. The resulting waveforms can be injected into a device under test and analyzed as they progress through it.