16 lines
496 B
Plaintext
16 lines
496 B
Plaintext
stickDesc = 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]
|
|
exec frappy start $ins stick mb11stick
|
|
makenv frappy_stick -driver secop -port localhost:1521$nr
|
|
dolater 0 device makeitem stick_label SECoP/mb11
|
|
} 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
|
|
}
|