Milking system, comprising a robotic milking means with a milking control device and arranged for milking milk from a dairy animal, a milk line in fluid connection with the milking device, a sampling and analysis device arranged to take a sample of the milk from the milk line and to analyse milk from the sample, wherein the milking control device is arranged to control the robotic milking means on the basis of the analysis of the milk sample, wherein the sampling and analysis device comprises: - a control unit for controlling the sampling and analysis device, - a tape reel (17-1) provided with a tape with a series of reagent pads that are arranged to provide a detectable response in the presence of at least one substance in the sample, - a tape mover, arranged to move the tape under control of the control device, - a dosing device arranged to provide and under the control of the control unit a droplet of the sample onto a reagent pad on the tape, - a camera device operably connected to the control unit, and arranged to obtain at least one image of said part of the reagent supplied with said droplet of the sample, and to analyse the obtained images to provide an indication of a presence or concentration of said at least one substance, wherein the reagent pads are lengthwise consecutive substantially rectangular reagent pads, characterized in that said reagent pads are mutually separated by a hydrophobic separator line , and wherein the control unit is arranged to recognise said separator line in the at least one obtained image and to determine a position of said separator line in the image, and wherein the control unit is arranged to control the tape mover on the basis of the at least one obtained image. wherein the sampling and analysis device comprises: - a control unit for controlling the sampling and analysis device, - a tape reel (17-1) provided with a tape with a series of reagent pads that are arranged to provide a detectable response in the presence of at least one substance in the sample, - a tape mover, arranged to move the tape under control of the control device, - a dosing device arranged to provide and under the control of the control unit a droplet of the sample onto a reagent pad on the tape, - a camera device operably connected to the control unit, and arranged to obtain at least one image of said part of the reagent supplied with said droplet of the sample, and to analyse the obtained images to provide an indication of a presence or concentration of said at least one substance, - a control unit for controlling the sampling and analysis device, - a tape reel (17-1) provided with a tape with a series of reagent pads that are arranged to provide a detectable response in the presence of at least one substance in the sample, - a tape mover, arranged to move the tape under control of the control device, - a dosing device arranged to provide and under the control of the control unit a droplet of the sample onto a reagent pad on the tape, - a camera device operably connected to the control unit, and arranged to obtain at least one image of said part of the reagent supplied with said droplet of the sample, and to analyse the obtained images to provide an indication of a presence or concentration of said at least one substance, wherein the reagent pads are lengthwise consecutive substantially rectangular reagent pads, characterized in that said reagent pads are mutually separated by a hydrophobic separator line , and wherein the control unit is arranged to recognise said separator line in the at least one obtained image and to determine a position of said separator line in the image, and wherein the control unit is arranged to control the tape mover on the basis of the at least one obtained image. <EOS>