An apparatus for automated measurements of the gas content in a liquid comprising: an outer walled structure (106,306) that defines a cavity (108, 308); a piston (110, 310) configured to (i) pull the liquid sample into the cavity and (ii) push the liquid sample out of the cavity; and at least one measurement window (130-132, 330) having at least one inner surface exposed within the cavity (108, 308), the at least one measurement window configured to receive a first signal from a signal source and (ii) provide a second signal to a gas content analyzer where the second signal is based on the first signal, wherein the at least one measurement window comprises: a first measurement window configured to pass the first signal from the signal source into the cavity (108, 308); and a second measurement window configured to pass the second signal from the cavity to the analyzer, further comprising: a first valve configured to trap air in a space between a piston head of the piston and a flange; and a second valve configured to allow the trapped air to move through the piston head in order to create a head space containing air between the liquid sample and the piston; wherein the first measurement window is configured to pass the first signal from the signal source into the head space created above the sample; and wherein the second measurement window is configured to pass the second signal from the head space to the analyzer. an outer walled structure (106,306) that defines a cavity (108, 308); a piston (110, 310) configured to (i) pull the liquid sample into the cavity and (ii) push the liquid sample out of the cavity; and (i) pull the liquid sample into the cavity and (ii) push the liquid sample out of the cavity; and at least one measurement window (130-132, 330) having at least one inner surface exposed within the cavity (108, 308), the at least one measurement window configured to receive a first signal from a signal source and (ii) provide a second signal to a gas content analyzer where the second signal is based on the first signal, wherein the at least one measurement window comprises: a first measurement window configured to pass the first signal from the signal source into the cavity (108, 308); and a second measurement window configured to pass the second signal from the cavity to the analyzer, further comprising: a first valve configured to trap air in a space between a piston head of the piston and a flange; and a second valve configured to allow the trapped air to move through the piston head in order to create a head space containing air between the liquid sample and the piston; wherein the first measurement window is configured to pass the first signal from the signal source into the head space created above the sample; and wherein the second measurement window is configured to pass the second signal from the head space to the analyzer. a first measurement window configured to pass the first signal from the signal source into the cavity (108, 308); and a second measurement window configured to pass the second signal from the cavity to the analyzer, further comprising: a first valve configured to trap air in a space between a piston head of the piston and a flange; and a second valve configured to allow the trapped air to move through the piston head in order to create a head space containing air between the liquid sample and the piston; wherein the first measurement window is configured to pass the first signal from the signal source into the head space created above the sample; and wherein the second measurement window is configured to pass the second signal from the head space to the analyzer.