Files
sea/tcl/dil4kappa.stick
2022-08-18 15:04:28 +02:00

84 lines
2.4 KiB
Plaintext

stickDesc = dilution insert with conductivity cell
makenv ts -driver dil12 -reg370 /treg -mon370 /tmon -hasturbo 1
# lakeshore 370 ctrl
makenv treg -driver 370_lsc -port dil4-ts:3001 {
# curves for sample:
# u02045 normal dil2 holder
# m59 weak link 2
# ruoxben1k weak link with test ring heater
# ruox5k weak link with test ring heater
# standard ch6 cx078 (new sensor from Sep2014)
# heater/thermo ch8 rx078 (new field insensitive sensor Sep2014)
lsc_sensor sample -channel 6 -sensor cx078 -active 0 -excitation 20uV \
-color blue
lsc_sensor mix -channel 5 -sensor ruoxm0 -active 1 -excitation 20uV \
-color cyan
lsc_sensor samplehtr -channel 8 -sensor rx078 -active 0 -excitation 20uV \
-color black
# weaklink heater
lsc_loop set -channel 5 -maxheater 31mA -resist 316 -linearpower 0.2e-3
GraphAdd treg.set.reg K T_set dark_green
GraphAdd treg.set.power W Htr_Power dark_green
}
# fix a bug (in the 370?): set the HRTRNG to 7 (31mA) when needed
hsetprop /treg/set fix_range 7
# lakeshore 370 monitor
makenv tmon -driver 370_lsc -port dil4-ts:3003 {
lsc_sensor sorb -channel 12 -sensor c270 -excitation 2mV -color dark_violet
lsc_sensor onek -channel 11 -sensor ruoxm0 -excitation 2mV -color yellow
lsc_sensor stillt -channel 10 -sensor ruoxm0 -excitation 200uV -color orange
lsc_sensor sample 3 clone
lsc_sensor samplehtr 1 clone
lsc_sensor mix 4 clone
lsc_sensor t1 -channel 2 -sensor ruox5a -active 1 -excitation 63uV -color blue
lsc_sensor t2 -channel 9 -sensor ruox5b -active 1 -excitation 63uV -color skyblue
}
#define current source
makenv iheat -driver k2601b
makenv vheat -driver nanov
GraphAdd iheat.Imeas A heater_curr
GraphAdd iheat.Pmeas W heater_Power
GraphAdd iheat.Vmeas V heater_Voltage
GraphAdd vheat.u1 V heater_Volt
makenv phase -driver parameter 0
GraphAdd difloop.output % heater
GraphAdd difloop.target dK dif_set
GraphAdd difloop dK dif
proc graphvti {} {
GraphItem shown tt.ts 0
GraphItem label tt.set.reg VTI_reg
GraphItem label tt.set.power VTI_power
}
dolater 0 graphvti
tt ts/curve undefined
hsetprop /tt group "VTI temperature"
makeDil -port dil4-ts:3005
makenv sorb -driver piloop -invar "/tmon/sorb" -outvar "dil psorb" \
-prop 200 -int 15
makenv n2trap -driver n2_ccu -port dil4-ts:3007 "trap level"
# control on mix by default
ts control 6
treg set/deriv 0
defineTemperature ts
default ts control
default ts heaterselect
dil extVersion 1