mb11.config: code depends on instrument
This commit is contained in:
@ -5,8 +5,12 @@ set ::secop_version 4
|
|||||||
set ins [result instrument]
|
set ins [result instrument]
|
||||||
if {[string match "prep*" $ins]} {
|
if {[string match "prep*" $ins]} {
|
||||||
set nr [string range $ins end end]
|
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 {
|
} 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
|
|
||||||
|
Reference in New Issue
Block a user