ljtcvolts2temp

Converts thermocouple voltage to temperature in degrees Kelvin

Arguments

  1. Integer thermocouple type. Constants are: B = 6001, C = 6009, E = 6002, J = 6003, K = 6004, N = 6005, R = 6006, S = 6007, T = 6008
  2. Real voltage reported by the thermocouple
  3. Real cold-junction temperature in degrees Kelvin

Output

Real calculated thermocouple temperature in degrees Kelvin

Examples

ljtcvolts2temp