Heating chamber with sample in place