I am interested in the change of CO2 concentration inside bamboo stems. I have been using a syringe to pull air samples from inside the bamboo stem and inject it to a CO2 analyser (LI-6400 infra red gas analyser). Due to the mixing of sampled air and the background air through the analyzer, I need to integrate the curve of temporal change in concentration to derive the molar value of CO2 inside the syringe. This procedure is subject to substantial errors and I am wondering if there is a way (like a probe) to directly measure the CO2 concentration of a small air sample (like 3-5 ml).