From 510f6b563e49150bfb49ef7b5d5ac6a865aab32e Mon Sep 17 00:00:00 2001 From: dmc Date: Wed, 11 Dec 2024 10:30:45 +0100 Subject: [PATCH] add varioxb.stick --- tcl/varioxb.stick | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tcl/varioxb.stick diff --git a/tcl/varioxb.stick b/tcl/varioxb.stick new file mode 100644 index 0000000..687c755 --- /dev/null +++ b/tcl/varioxb.stick @@ -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 +}