deviceDesc = 1.8 Tesla horizontal cryomagnet

defineTemperature tt
device stick_menu "ma02 dil2 dil3 dil4 coil"

makenv tt -driver [lsdriver] {
  lsc_sensor tm A -sensor x29746 -sensorname VTI
  lsc_sensor ts C -sensorname sample
#  lsc_sensor ts_2 D -sensor x63881 -sensorname sample2
  lsc_sensor ts_2 D -sensor code -sensorname sample2
  lsc_loop set -loop 1 -channel A -maxheater 50W -resist 50Ohm -color green
  if {[lsdriver] eq "336_lsc"} {
    lsc_loop setsamp -loop 2 -channel C -maxheater 62.5W -resist 40Ohm -color dark_green -loopname sample
  }
}
tt set/limit 310
tt set/prop 15
tt set/integ 10

makeCCU4 ma02 nv n2 he_ilm

hupdate /nv/set 1.2

makeIps -limit 1.8 -startRamp 0.5 -port ma02-ts:3002

makeIlm -channels 1 -port ma02-ts:3001

