deviceDesc = orange cryostat with 100 mm sample space

defineTemperature tt
device stick_menu "ori4 sch5 sch ori4_old ill5p"
makenv tt -driver [lsdriver] {
  lsc_sensor tm B -sensor x77456 -sensorname VTI
  lsc_sensor ts C -sensorname sample
  lsc_sensor ts_2 D -sensor code -sensorname sample2
  lsc_loop set -loop 1 -channel B -maxheater 50W -resist 50Ohm -color green
  if {[lsdriver] eq "336_lsc"} {
    lsc_loop setsamp -loop 2 -channel C -maxheater 50W -resist 25Ohm -is sample -color dark_green
  }
}
tt set/limit 310
makeCCU4 ori4 nvstep n2 he

hupdate /nv/set 1.4
hupdate /nv/flowmax 20

makenv table -driver table /tt/tm {
  "tt set/prop" "1:0.5 6:1 7:10 50:50 300:20"
  "tt set/integ" "6:999 7:50 10:50 50:20 300:5"
  "tt dblctrl/int2" "2:10 20:50 50:300 120:500 300:800"
  "tt dblctrl/prop_up" "20:0.1 50:0.4"
  "tt dblctrl/prop_lo" "20:0.1 50:0.8"
  "warmup weight" "70:0.5 150:0.25"
}
hsetprop /table/tbl_tt_dblctrl_int2 varpath /tt/ts

makeHePump
