diff --git a/tcl/mb11.config b/tcl/mb11.config index bef6fac..9478384 100644 --- a/tcl/mb11.config +++ b/tcl/mb11.config @@ -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 } diff --git a/tcl/mb11.stick b/tcl/mb11.stick new file mode 100644 index 0000000..613f28f --- /dev/null +++ b/tcl/mb11.stick @@ -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 +}