For patients with acute respiratory failure, a computer-driven system can significantly reduce the duration of mechanical ventilation and length of stay in the intensive care unit (ICU), as compared with the traditional physician-controlled weaning process.