Temperature measurement using Thermocouple