Reference waveform in comparison with a recorder waveform of incorrect positioning of the gear or camshaft disc