Measuring and recording of train speed