Apparatus for the Real Time "in situ" Measurement of X-Ray Diffraction