Linear measurement with a draw wire + encoder