Control device for an inspection apparatus for inspecting an object under test, wherein the inspection apparatus comprises a camera device and a handling device, wherein the camera device has a focal plane with a recording area and is designed to record an image of the recording area, wherein the handling device is designed to grip and/or pick up the object under test, wherein the control device can be connected to the inspection apparatus for data interchange purposes and is designed to control the handling device to position the object under test in the recording area, wherein the control device comprises at least one inspection program and has an operator control unit, the operator control unit being able to be used to define and/or select one of the inspection programs as a selected inspection program to optically inspect the object under test, wherein the selected inspection program comprises a three-dimensional model of the object under test, the control device being designed to control the handling device to position the object under test in the recording area on the basis of the selected inspection program and/or the model, wherein the at least one inspection program has adjustable parameters for the handling device, the control device, the camera device and/or further components of the inspection apparatus, wherein the control device and/or the inspection program comprises a policy containing rules, the rules logically combining adjustable parameters with one another, the control device being designed to respond to a change in an adjustable parameter by readjusting a further adjustable parameter on the basis of at least one of the rules, wherein the inspection program comprises a plurality of inspection modules (22a-22f), the inspection modules (22a-22f) being subroutines of the inspection program, the plurality of inspection modules (22a-22f) comprising a plurality of handling inspection modules and a plurality of image recording modules, wherein the control device is designed to determine error rates of the optical inspection for combinations of different inspection modules, the control device and/or the user being able to take the error rates as a basis for determining what combination of inspection modules is best for the inspection, wherein the operator control unit can be used to select a section of the model as a selection area, the control device being designed to determine a section of the object under test that corresponds to the selection area as an object selection area and to control the handling device to position the object under test with the object selection area in the recording area. wherein the inspection apparatus comprises a camera device and a handling device, wherein the camera device has a focal plane with a recording area and is designed to record an image of the recording area, wherein the handling device is designed to grip and/or pick up the object under test, wherein the control device can be connected to the inspection apparatus for data interchange purposes and is designed to control the handling device to position the object under test in the recording area, wherein the control device comprises at least one inspection program and has an operator control unit, the operator control unit being able to be used to define and/or select one of the inspection programs as a selected inspection program to optically inspect the object under test, wherein the selected inspection program comprises a three-dimensional model of the object under test, the control device being designed to control the handling device to position the object under test in the recording area on the basis of the selected inspection program and/or the model, wherein the at least one inspection program has adjustable parameters for the handling device, the control device, the camera device and/or further components of the inspection apparatus, wherein the control device and/or the inspection program comprises a policy containing rules, the rules logically combining adjustable parameters with one another, the control device being designed to respond to a change in an adjustable parameter by readjusting a further adjustable parameter on the basis of at least one of the rules, wherein the inspection program comprises a plurality of inspection modules (22a-22f), the inspection modules (22a-22f) being subroutines of the inspection program, the plurality of inspection modules (22a-22f) comprising a plurality of handling inspection modules and a plurality of image recording modules, wherein the control device is designed to determine error rates of the optical inspection for combinations of different inspection modules, the control device and/or the user being able to take the error rates as a basis for determining what combination of inspection modules is best for the inspection, wherein the operator control unit can be used to select a section of the model as a selection area, the control device being designed to determine a section of the object under test that corresponds to the selection area as an object selection area and to control the handling device to position the object under test with the object selection area in the recording area.