Methods and apparatus for generating a signal with a signal generator
comprising a tool body disposed in a tubular member. A first and second
electromagnets are disposed within the tool body such that the second
electromagnet is opposite the first electromagnet. A power supply
selectively provides electrical current to the first and second
electromagnets so as to displace the tubular member and generate a signal
in the surrounding formation.