diff --git a/etc/fixevents.py b/etc/fixevents.py index fbff9f639e0a69fdc90d88a61107747ea7164168..86a62ab27ff56e52b72e24e94dde96ff145bdeff 100644 --- a/etc/fixevents.py +++ b/etc/fixevents.py @@ -4,6 +4,7 @@ from tango import * sip120 = DeviceProxy('rpcbridge/rpc2tangobridge/sip120') sip400 = DeviceProxy('rpcbridge/rpc2tangobridge/sip400') +vlvfe = DeviceProxy('rpcbridge/rpc2tangobridge/vlvfe') @@ -36,3 +37,14 @@ for att in sip400attrlist: except: print ('fail for %s', att) 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