Rheometer with optical microscope