Files
sea/tcl/hemeas.config

44 lines
1.2 KiB
Plaintext

deviceDesc = he meas
ccu4_device special
proc make_hemeas {ccname pname pshort hostport args} {
makenv $ccname -driver ccu4 -port $hostport "He vessels $pname" multiHe
hsetprop /$ccname cfgtablefile NONE
foreach chan $args {
GraphAdd $ccname.h$chan % ${pshort}_He_$chan
}
# 75 mA meas. current (85 seems to work better)
$ccname hd0 85
# 460 Ohm/m resistivity
$ccname hwr0 460
# empty at 475 mm from top (sensors exchanged in 2021: was 565 before)
$ccname hem0 475
# full at 0 mm from top (sensors exchanged in 2021: was 90 mm before)
$ccname hfu0 0
# measurement interval 30 min. (but measured always after plugging)
$ccname hts 1800
# hsetprop /$ccname group "He vessels $pname"
}
make_hemeas cc2 aare aare ldmprep7-ts:3004 0 1 2 3 4 5
make_hemeas cc1 mid1 mid1 psts216:3007 0 1 2 3 4 5
make_hemeas cc6 berg berg ldmprep12-ts:3010 1 2 3 4 5
makenv luft -driver luft SINQ
makenv luft_wlga -driver luft WLGA
GraphAdd luft %_2 Luft_SINQ
GraphAdd luft_wlga %_2 Luft_WLGA
if {[sicsdescriptor helium_list] eq "notfound"} {
makeobject helium_list array
}
if {[sicsdescriptor helium_ts] eq "notfound"} {
makeobject helium_ts array
}
if {[sicsdescriptor pump_health] eq "notfound"} {
makeobject pump_health array
}