mb11.config: code depends on instrument

This commit is contained in:
2023-09-14 11:34:29 +02:00
parent 1852e3bd02
commit 4b676aec87

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