Measuring impedance of element or network through which a current is passing from another source, e.g. cable, power line