spirometer data recording