Abstract: In a position detection probe having a magnetostrictive wire stretched between a head and a reflective foot end termination, and a magnet displaceable along the probe and using the sonic pulse propagation time from the magnet to the foot end termination as a position detection parameter, compensation for thermal expansion and thermal change of propagation velocity is made by measuring the wire resistance and calculating a compensation from the resistance. The probe is excited by an electrical pulse having a known current. The voltage across the wire is measured at a time when the current has stabilized to a precise value, and resistance is determined from the current and voltage.