It is important during the gluing in of glass panes in automobile production that the adhesive beading shows a constant track. Therefore a robot arm tracks the adhesive beading track exactly with a scanCONTROL laser scanner. In doing so, the robot centres itself on the adhesive beading automatically due to the measured data. In doing so, the scanner measures the surface profile of the adhesive beading. The supplied software automatically detects whether the beading is too narrow, too wide or too flat.