As is shown in FIG. 1, the group of signal values is fed to evaluation unit 14 for further processing. Evaluation unit 14 generates a switching signal 18 corresponding to a given group of signal values so that the switching signal 18 relates to a desired position, for example position C of piston 4.