Waveform generation and measurement technology