How to measure the inverter wave shape?