There is disclosed a nitric oxide delivery system comprising an inlet to connect to a source of pharmaceutical gas comprising nitric oxide; an outlet to connect to a device that introduces the pharmaceutical gas to a patient; a breath trigger sensor to monitor a patient's respiratory rate; and a gas control system in communication with the breath trigger sensor that delivers a varying quantity of pharmaceutical gas to the patient based on changes in the patient's respiratory rate.