Anaesthesia

All of the following are the criteria for weaning the patient from ventilation except :