The invention relates to a distance measuring method comprising at least the step of emitting at least one measurement signal to a target object, in which at least one start signal is produced, and the measurement signal is back scattered from the target object as a target signal. Said target signal is sampled at a sampling frequency and the relative position of the start signal and the target signal is determined for deriving a distance to the target object from the relative position from the start signal and the target signal. The sampling frequency can be adjusted and is set in accordance with a large distance to the target object.