Recording a train passage