DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
flxlibs
scripts
flxrpc
client
checkLinks.py
Go to the documentation of this file.
1
import
xmlrpclib
2
3
flx711 = xmlrpclib.ServerProxy(
'http://<felix_rpc_host>:9999/RPC2'
)
4
flx712 = xmlrpclib.ServerProxy(
'http://<felix_rpc_host>:9999/RPC2'
)
5
6
print(
"### Check link status..."
)
7
print(
" -> BNL711..."
)
8
ret = flx711.isAnyLinkDown()
9
print
ret
10
if
ret[0]:
11
print
flx711.init(
True
,
True
)
12
print
flx711.configLinks()
13
14
print(
" -> BNL712..."
)
15
ret = flx712.isAnyLinkDown()
16
print
ret
17
if
ret[0]:
18
print
flx712.init(
True
,
True
)
19
print
flx712.configLinks()
Generated on
for DUNE-DAQ by
1.17.0