It works by strategically sampling the AC voltage at various points along a waveform shape. From there, it digitizes all points or values and utilizes a microprocessor in order to execute a numerical analysis (which arrives at harmonic frequency magnitudes).