diff --git a/utils/fixevents.py b/utils/fixevents.py new file mode 100644 index 0000000000000000000000000000000000000000..23b07c07bab312a9cb662882c9dd5e64e0581112 --- /dev/null +++ b/utils/fixevents.py @@ -0,0 +1,16 @@ +#set polling and events confi for archiving + +from tango import * + +dev = DeviceProxy('sr/devmapper/3hc') + +attlist = dev.get_attribute_list() + +for att in attlist: + print att + attconf = dev.get_attribute_config(att) + attconf.events.arch_event.archive_abs_change='0.2' + attconf.events.arch_event.archive_period='60000' + dev.set_attribute_config(attconf) + #dev.poll_attribute(att,3000) +