Skip to content
Snippets Groups Projects
Commit b28ab29f authored by Claudio Scafuri's avatar Claudio Scafuri :speech_balloon:
Browse files

add vlfvfe

parent 6c99c80e
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
from tango import * from tango import *
sip120 = DeviceProxy('rpcbridge/rpc2tangobridge/sip120') sip120 = DeviceProxy('rpcbridge/rpc2tangobridge/sip120')
sip400 = DeviceProxy('rpcbridge/rpc2tangobridge/sip400') sip400 = DeviceProxy('rpcbridge/rpc2tangobridge/sip400')
vlvfe = DeviceProxy('rpcbridge/rpc2tangobridge/vlvfe')
...@@ -36,3 +37,14 @@ for att in sip400attrlist: ...@@ -36,3 +37,14 @@ for att in sip400attrlist:
except: except:
print ('fail for %s', att) print ('fail for %s', att)
pass pass
vlvfeattrlist = vlvfe.get_attribute_list()
for att in vlvfeattrlist:
attconf=vlvfe.get_attribute_config(att)
attconf.events.arch_event.archive_period = '360000'
try:
vlvfe.set_attribute_config(attconf)
vlvfe.poll_attribute(att,3000)
except:
print ('fail for %s', att)
pass
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment