A Virtual Instrument for Transmission Line Diagnostics