deviceDesc = ILL furnace (1400 K), type W thermocouple (1500 / 1800 K)

defineTemperature tt

makenv tt -driver 340_lsc -port @lsc340a {
  # the temperature scale is kinked above 1000 K, by a factor 2
  lsc_kink 1000 2
  lsc_sensor ts C -sensor type-c-k1000 -sensorname sample -alarm 1805
  lsc_sensor t2 D -sensor type-c-k1000 -sensorname t2 -alarm 1805
  lsc_sensor te B -sensor rhfe4140 -sensorname outer -alarm 323
  lsc_sensor p A -sensor vacuum -sensorname vacuum
  lsc_loop set -loop 1 -channel C -maxheater 0.01A -resist 1000Ohm
  hsetprop /tt dblmode disabled
  hsetprop /tt/dblctrl visible false
  hdelprop /tt/dblctrl group
}

GraphAdd tt.set.reg K T_reg auto
GraphAdd tt.ts.raw V V_sample blue
GraphAdd tt.t2.raw V V_t2 auto

catch {
  tt set/prop 1
  tt set/integ 5
#  tt set/ramp 10
  tt set/limit 1700
}


makenv table -driver table /tt/ts {
  "tt set/prop"  "500:0.5 1500:5"
  "tt set/integ" "500:1 1500:5"
}
