deviceDesc = flow cryo for LEM

defineTemperature tt

makenv tt -driver [lsdriver]  {
#  lsc_sensor tm A -sensor x174783 -sensorname HX #(this got replaced 1.3.2023)
  lsc_sensor tm A -sensor x70263 -sensorname HX
#  lsc_sensor tsep B -sensor x86021 -sensorname sep
  lsc_sensor ts C -sensorname sample
  lsc_sensor tsh D -sensor pt1000e -sensorname shield
  lsc_loop set -loop 1 -channel A -maxheater 10W -resist 50Ohm
}
tt set/limit 310

makenv table -driver table /tt/tm {
  "tt set/prop" "50:50 300:20 400:10"
  "tt set/integ" "10:50 50:20 300:5"
  "tt dblctrl/int2" "10:10 50:100 300:600"
  "tt dblctrl/prop_up" "20:0.1 50:0.4"
  "tt dblctrl/prop_lo" "20:0.1 50:0.8"
}

makeCCU4 lemflow nv
hupdate /nv/set 1.6


#2nd pump 
makenv hepump2 -driver hepump hemot2
makenv hemot2 -driver trinamic -base /hepump2/ hepump2 
makenv nvflow2 -driver sensirion -controller _hemot2


