frappy.config automatically connects to running frappy servers

This commit is contained in:
l_samenv
2023-03-31 14:25:50 +02:00
parent 5b3e7b25cf
commit b819305088
3 changed files with 16 additions and 10 deletions

View File

@ -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
}