Virtual instrument superheterodyne wave analyzer for teaching purposes