deviceDesc = orange cryostat with 100 mm sample space

device stick_menu "ori6 ill5p sch ori4_old"

makenv tt -driver [lsdriver] {
  lsc_sensor tm B -sensor x94977 -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
}
tt set/limit 310
makeCCU4 ori6 nv n2 he
hupdate /nv/set 1.6

nv ctrl/prop_o 0.05
nv ctrl/prop_c 0.03 
nv ctrl/minpulse_c 0.005
nv ctrl/minpulse_o 0.01
nv ctrl/hystpulse_o 0.05
nv ctrl/hystpulse_c 0.05
nv ctrl/openpulse 5
nv ctrl/adjust_minpulse 0

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

table tbl_tt_dblctrl_prop_lo 20:0.1 50:0.4

#GraphAdd cc.mp sec pulse red
#GraphAdd cc.msp sec speed green
