In another further embodiment of a device according to the invention the measuring device is constituted by a component meter for measuring the quantity of a component of the milk obtained during the milking run, such as fat, protein, urea, bacteria, sugars, free fatty acids, germs, etc.