deviceDesc = thin film oven for AMOR

defineTemperature tt

makenv tt -driver [lsdriver]  {
  lsc_sensor ts A -sensor pt100e -sensorname sample -alarm 700
  lsc_sensor tm B -sensor pt-1000 -sensorname body -alarm 320
  lsc_loop set -loop 1 -channel A -maxheater 0.05A -resist 100Ohm -linearpower 75 -mout 15
}

GraphAdd tt.set.reg K T_reg auto

tt set/prop 1
tt set/integ 100
tt set/limit 870
tt ts/alarm 875

makeCCU4 fftf

makenv p -driver amoroven
p tlimit_without_vacuum 350
p tlimit 870

GraphAdd p mbar pressure auto

GraphAdd p.vacuumpump S pump auto
GraphAdd p.gasflow S valve auto

makenv table -driver table /tt/set {
  "tt set/prop" "400:0.5 550:2"
  "tt set/integ" "400:10 550:20"
}
