Files
sea/tcl/dilcal.addon
2025-01-17 17:05:02 +01:00

66 lines
1.9 KiB
Plaintext

addonDesc = ULT calibration setup
# LakeShore 372 Thermometers 1-6
makenv res1 -driver 372_lsc -port dilsc-ls2.psi.ch:7777 {
lsc_sensor rx1 1 -sensor U08127 -excitation 20uV -filter 10
lsc_sensor rx2 2 -sensor raw -excitation 20uV -filter 10
lsc_sensor rx3 3 -sensor raw -excitation 20uV -filter 10
lsc_sensor rx4 4 -sensor raw -excitation 20uV -filter 10
lsc_sensor rx5 5 -sensor raw -excitation 20uV -filter 10
#lsc_sensor rx6 6 -sensor raw -excitation 20uV -filter 10
# heater output 0 (=sample heater) for channel 4 (still)
lsc_loop set -loop 0 -channel 1 -maxheater 100mA -resist 100
}
# LakeShore 372 Thermometers 7-13
makenv res2 -driver 372_lsc -port linse-se1-ls.psi.ch:7777 {
lsc_sensor rx7 1 -sensor raw -excitation 20uV -filter 10
lsc_sensor rx8 2 -sensor x165053 -excitation 20uV -filter 10
lsc_sensor rx9 3 -sensor raw -excitation 20uV -filter 10
lsc_sensor rx10 4 -sensor raw -excitation 20uV -filter 10
lsc_sensor rx13 5 -sensor raw -excitation 20uV -filter 10
# heater output 0 (=sample heater) for channel 4 (still)
lsc_loop set -loop 0 -channel 1 -maxheater 0.5W -resist 15
}
# Stuff for calibrations with fixed point device
#defineTemperature tmix
makenv cmn -driver cmnnanov -port ldmse-d910-ts.psi.ch:3001
GraphAdd cmn.u1 V cmn
GraphAdd cmn.u2 V fixp
makenv softloop -driver piloop -invar "/cmn/temp" -outvar "res2 set/manualpower" \
-inpfunc 1 -outfunc 1 -outlinear 1e-7 -precision 1e-15 -outmin 1e-11 -outmax 0.1
GraphAdd cmn.temp K
GraphAdd softloop.reg K cmn_reg
GraphAdd softloop.target K cmn_target
GraphAdd res2.rx8 K T_rx8
GraphAdd res1.rx1.raw Ohm
GraphAdd res1.rx2.raw Ohm
GraphAdd res1.rx3.raw Ohm
GraphAdd res1.rx4.raw Ohm
GraphAdd res1.rx5.raw Ohm
#GraphAdd res1.rx6.raw Ohm
GraphAdd res2.rx7.raw Ohm
GraphAdd res2.rx8.raw Ohm
GraphAdd res2.rx9.raw Ohm
GraphAdd res2.rx10.raw Ohm
#GraphAdd res2.rx11.raw Ohm
#GraphAdd res2.rx12.raw Ohm
GraphAdd res2.rx13.raw Ohm