The cycling mode implements a method to use various different user-controlled configurations. This allows working with different light sources, lighting angles, exposure times, gains etc. for every line. That way, a single pass with a single camera delivers a high amount of information which is comparable to that of multiple cameras or combinations of camera and frame grabber. With this feature, costly and complex hardware solutions can be avoided, since e.g. multiple illumination variants of the same object increase failure detection and production security. It can also reduce inspection time in cases where various illumination set-ups are mandatory to inspect one object.