From b28ab29fda475a8c2c631ea3184c8f3af07668ed Mon Sep 17 00:00:00 2001
From: Claudio Scafuri <claudio.scafuri@elettra.eu>
Date: Thu, 19 Aug 2021 10:10:15 +0200
Subject: [PATCH] add vlfvfe

---
 etc/fixevents.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/etc/fixevents.py b/etc/fixevents.py
index fbff9f6..86a62ab 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
-- 
GitLab