The present invention relates to a device for pulmonary function measurement in a subject. The device comprises a means for providing an aerosol comprising particles to be inhaled by the subject, and a means for analysis of a portion of air exhaled by the subject, wherein said particles are hydrophobic and are within the range of 20-200 nm, preferably 50-100 nm, and wherein said portion is exhaled after exhalation of a volume corresponding to dead space. Furthermore, the present invention relates to the use of such a device, a method for pulmonary function measurement in a subject, and a control system for a device for pulmonary function measurement in a subject.