Implementation of a continuous scanning procedure and a line scan