The present invention teaches a method and apparatus for making measurement
of an object on a machine, such as a machine tool, using an optical
measuring apparatus which includes a light source for generating a beam of
light which is incident on a detector. A detection signal is generated
within the detector each time the beam is interrupted. The duration and/or
frequency of the detection signals are evaluated and an output signal is
emitted from the detection only if a further detection signal is present
within the detector in a specified time interval from the generation of an
earlier detection signal.