Multi-function power analyzer