deviceDesc = 100mm Variox

device stick_menu "mb11 dil5 varioxB"

defineTemperature tvs

makenv tvs -driver itctemp -port linvb-ts:3001 -controller _tt DB6.T1 DB1.H1
GraphAdd tvs K T_VTIs red
GraphAdd tvs.set K T_stat_set orange
GraphAdd tvs.pow W pow_tvs red
#GraphAdd tvs.raw Ohm R_tvs red

makenv tvd -driver itctemp -port linvb-ts:3001 -controller _tt DB7.T1 DB2.H1
GraphAdd tvd K T_VTId magenta
GraphAdd tvd.set K T_dyn_set violet
GraphAdd tvd.pow W pow_tvd magenta
#GraphAdd tvd.raw Ohm R_tvd magenta

makenv pstat -driver itcpress -port linvb-ts:3001 -controller _tt DB5.P1 DB3.G1
GraphAdd pstat mbar p_stat
GraphAdd pstat.pos % nv_stat
GraphAdd pstat.set mbar p_stat_set

makenv pdyn -driver itcpress -port linvb-ts:3001 -controller _tt DB8.P1 DB4.G1
GraphAdd pdyn mbar p_dyn
GraphAdd pdyn.pos % nv_dyn
GraphAdd pdyn.set mbar p_dyn_set

makeIpsLev -port linvb-ts:3002 -controller _ta -slot DB4

makenv tneck1 -driver itctemp -port linvb-ts:3002 -controller _ta MB1.T1 MB0.H1
makenv tneck2 -driver itctemp -port linvb-ts:3002 -controller _ta DB6.T1 DB1.H1
makenv tnvs -driver itctemp -port linvb-ts:3002 -controller _ta DB7.T1 DB2.H1
makenv tnvd -driver itctemp -port lnivb-ts:3002 -controller _ta DB8.T1 DB3.H1

makeN2Fill ccu4ilm {
  ln2fill lowlevel 30
  ln2fill highlevel 95
  ln2fill minfillminutes 8
  ln2fill maxfillminutes 40
  ln2fill minholdhours 24
  ln2fill maxholdhours 96
#  appendVars ln2fill.smooth/%/N2smooth/13
}


GraphAdd tneck1 K_2 T_neck1
GraphAdd tneck1.pow W pow_neck1
GraphAdd tneck2 K_2 T_neck2
GraphAdd tneck2.pow W pow_neck2
GraphAdd tnvs K_2 T_nvs
#GraphAdd tnvs.pow W pow_nvs
GraphAdd tnvd K_2 T_nvd
#GraphAdd tnvd.pow W pow_nvd


setstickrot linvb-ts:3004

