diff --git a/tcl/frappy2.config b/tcl/frappy2.config index f887e61..134c560 100644 --- a/tcl/frappy2.config +++ b/tcl/frappy2.config @@ -1,7 +1,17 @@ -deviceDesc = FRAPPY history recorder, with stick +deviceDesc = frappy history recorder for main and stick with Hepump set ::secop_version 4 -makenv frappy_main -driver secop -port localhost:15101 -makenv frappy_stick -driver secop -port localhost:15201 - +set ins [result instrument] +if {[string match "prep*" $ins]} { + set nr [string range $ins end end] + makenv frappy_main -driver secop -port localhost:1511$nr + makenv frappy_stick -driver secop -port localhost:1521$nr + makeHePump +} elseif {[lindex [split [info hostname] .] 0] ne $ins} { + error "runs on instruments or prep0-9 only" +} else { + makenv frappy_main -driver secop -port localhost:15101 + makenv frappy_stick -driver secop -port localhost:15201 + makeHePump +} diff --git a/tcl/varioxB.config b/tcl/varioxB.config deleted file mode 100644 index 7abeb3c..0000000 --- a/tcl/varioxB.config +++ /dev/null @@ -1,58 +0,0 @@ -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 - diff --git a/tcl/varioxB.stick b/tcl/varioxB.stick deleted file mode 100644 index a776c3b..0000000 --- a/tcl/varioxB.stick +++ /dev/null @@ -1,9 +0,0 @@ -stickDesc = stick for Variox B - -defineTemperature ts - -makenv ts -driver itctemp -port linvb-ts:3001 -controller _tt MB1.T1 MB0.H1 -GraphAdd ts K T_sam blue -GraphAdd ts.set K T_sam_set cyan -GraphAdd ts.pow W pow_ts blue -GraphAdd ts.raw Ohm R_ts blue