Diagnostic of printed antennas and circuits