Auto infrared exhaust analyzer