Operation and application of thermocouples