show SECoP/cfg for recorders

+ auto select stick when stick_menu inf <name>.config
  starts with <name>
This commit is contained in:
2025-06-23 12:59:10 +02:00
parent 6a191e49da
commit 35abc1c182
4 changed files with 18 additions and 6 deletions

View File

@ -5,7 +5,9 @@ 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 {