Merge branch 'master' of gitlab.psi.ch-samenv:samenv/sea

This commit is contained in:
2023-09-14 11:39:53 +02:00
2 changed files with 8 additions and 3 deletions

View File

@ -17,3 +17,4 @@ GraphAdd t_be_filter.det K_4 Detector
t_be_filter relay1 A
t_be_filter relay2 B
hsetprop /t_be_filter layoutpos 90

View File

@ -5,8 +5,12 @@ set ::secop_version 4
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
makeHePump
} elseif {[lindex [split [info hostname] .] 0] ne $ins} {
error "runs on instruments or prep0-9 only"
} else {
error "runs on prep0-9 only"
makenv frappy_main -driver secop -port localhost:15101
makenv frappy_stick -driver secop -port localhost:15201
makeHePump
}
makenv frappy_main -driver secop -port localhost:1511$nr
makeHePump