MB11: make extra sea config files

This commit is contained in:
l_samenv
2023-09-19 10:34:02 +02:00
parent 93ebf716ba
commit a35befe200
2 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,4 @@
deviceDesc = FRAPPY history recorder, with stick
deviceDesc = MB11 Frappy history recorder
set ::secop_version 4
@ -11,6 +11,5 @@ if {[string match "prep*" $ins]} {
error "runs on instruments or prep0-9 only"
} else {
makenv frappy_main -driver secop -port localhost:15101
makenv frappy_stick -driver secop -port localhost:15201
makeHePump
}

13
tcl/mb11.stick Normal file
View File

@ -0,0 +1,13 @@
deviceDesc = MB11 stick Frappy history recorder
set ::secop_version 4
set ins [result instrument]
if {[string match "prep*" $ins]} {
set nr [string range $ins end end]
makenv frappy_stick -driver secop -port localhost:1521$nr
} elseif {[lindex [split [info hostname] .] 0] ne $ins} {
error "runs on instruments or prep0-9 only"
} else {
makenv frappy_stick -driver secop -port localhost:15201
}