Proposed is a procedure for carrying out a scanning probe microscopic or atomic force spectroscopic measurement within predetermined parameters, which said procedure encompasses the following steps: a determination of a value variance of at least one of the parameters, and control of an adjustment member in relation to said variance, so that the variance is at least partially compensated for.