A high pressure cell for simultaneous osmotic pressure and x-ray diffraction measurements.