add varioxb.stick
This commit is contained in:
13
tcl/varioxb.stick
Normal file
13
tcl/varioxb.stick
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
stickDesc = VarioxB 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
|
||||||
|
}
|
Reference in New Issue
Block a user