A non-transitory, computer-readable data storage medium storing a computer program having program codes which, when executed on a computer, perform a method for recognizing an error in acquisition of a pulsing sensor quantity of a sensor in a gas line system of an internal combustion engine, the method comprising:
- acquiring a plurality of sensor values of the pulsing sensor quantity representing a curve of the pulsing sensor quantity;
- determining a deviation value indicating a measure of deviation of the pulsing sensor values from a mean value of the sensor quantity;
- and
- recognizing an error of the sensor as a function of the determined deviation value.