Device for measuring the oscillation amplitude of a capillary of a wire bonder, wherein the capillary is positioned between a light source and a detector arrangement, and the oscillation amplitude is determined from blocking a beam with the capillary, wherein - the beam emitted by the light source (1; 101) is divided into a measurement beam and a reference beam, wherein an edge of the capillary in the oscillating state at least partially blocks the measurement beam, while the reference beam experiences no blocking and - the detector arrangement comprises a measurement detector (8.1; 108.1) assigned to the measurement beam and at least, one reference detector (8.2; 108.2, 108.3) assigned to the reference beam and the oscillation amplitude of the capillary is determined from the output signals (S M, S R) of the measurement detector (8.1; 108.1) and of the reference detector (8.2; 08.2, 133.3), said signals being interconnected with each other, characterized in that - a first imaging optical unit is arranged downstream of the light source (1; 101) in a beam propagation direction, by means of which first imaging optical unit the light source (1; 101) is imaged into an image plane, in which the capillary oscillates, in the measurement beam and in the reference beam and - a second imaging optical unit is arranged between the image plane and the detector arrangement, by means of which second imaging optical unit the measurement beam and the reference beam are focused into a detection plane or into a stop plane and, - neighbouring the detection plane or in the stop plane, - an aperture (7.1; 107.) is arranged in the measurement beam, the measurement detector (8.1 108.1) being arranged downstream of said aperture in the beam propagation direction and - an aperture (7.2; 107.2) is arranged in the reference beam, the at least one reference detector (8.2; 108.2, 108,3) being arranged downstream of said aperture in the beam ion direction. - the beam emitted by the light source (1; 101) is divided into a measurement beam and a reference beam, wherein an edge of the capillary in the oscillating state at least partially blocks the measurement beam, while the reference beam experiences no blocking and - the detector arrangement comprises a measurement detector (8.1; 108.1) assigned to the measurement beam and at least, one reference detector (8.2; 108.2, 108.3) assigned to the reference beam and the oscillation amplitude of the capillary is determined from the output signals (S M, S R) of the measurement detector (8.1; 108.1) and of the reference detector (8.2; 08.2, 133.3), said signals being interconnected with each other, - a first imaging optical unit is arranged downstream of the light source (1; 101) in a beam propagation direction, by means of which first imaging optical unit the light source (1; 101) is imaged into an image plane, in which the capillary oscillates, in the measurement beam and in the reference beam and - a second imaging optical unit is arranged between the image plane and the detector arrangement, by means of which second imaging optical unit the measurement beam and the reference beam are focused into a detection plane or into a stop plane and, - neighbouring the detection plane or in the stop plane, - an aperture (7.1; 107.) is arranged in the measurement beam, the measurement detector (8.1 108.1) being arranged downstream of said aperture in the beam propagation direction and - an aperture (7.2; 107.2) is arranged in the reference beam, the at least one reference detector (8.2; 108.2, 108,3) being arranged downstream of said aperture in the beam ion direction.