frappy.config automatically connects to running frappy servers
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
deviceDesc = SECoP test (version v1.0)
|
||||
deviceDesc = FRAPPY history recorder, with He pump
|
||||
|
||||
set ::secop_version 4
|
||||
|
||||
makenv frappy_main -driver secop
|
||||
#makenv frappy_stick -driver secop -port localhost:15201
|
||||
#makenv frappy_addons -driver secop
|
||||
#debug _secop
|
||||
|
||||
#dolater 0 _secop poll /secop 1 read test
|
||||
|
||||
foreach {service port} [exec frappy getports [result instrument]] {
|
||||
makenv frappy_$service -driver secop -port localhost:$port
|
||||
}
|
||||
set hepump [silent undefined hval /cfg_env/_hepump]
|
||||
if {$hepump ne "undefined"} {
|
||||
makeHePump
|
||||
}
|
||||
|
@ -2,6 +2,11 @@ deviceDesc = FRAPPY history recorder, with stick
|
||||
|
||||
set ::secop_version 4
|
||||
|
||||
makenv frappy_main -driver secop -port localhost:15101
|
||||
makenv frappy_stick -driver secop -port localhost:15201
|
||||
set ins [result instrument]
|
||||
if {[string match "prep*" $ins]} {
|
||||
set nr [string range $ins end end]
|
||||
} else {
|
||||
error "runs on prep0-9 only"
|
||||
}
|
||||
makenv frappy_main -driver secop -port localhost:1511$nr
|
||||
makeHePump
|
||||
|
@ -57,6 +57,7 @@ ServerOption TelWord sealogin
|
||||
allowexec [pwd]/plugin/safeplugin
|
||||
allowexec ping
|
||||
allowexec dig
|
||||
allowexec frappy
|
||||
|
||||
definealias tem temperature
|
||||
|
||||
|
Reference in New Issue
Block a user