Magnetostrictive sensors rely on the Weidemann effect to measure position or velocity. When a wire is subjected to a magnetic field oriented parallel to its length, and a current is passed through the wire, the wire experiences torsional strain at the location where the magnetic field occurs.