Compensation of temperature increase by the measurement