Under both conditions , we measured the hypercapnic ventilatory response ( HCVR ) , arterial blood Pco2 , steady-state metabolic CO2 production , overnight attended polysomnography , and also assessed cardiac and pulmonary function .