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

python3

parent 31aee7c8
Branches master
No related tags found
No related merge requests found
......@@ -7,10 +7,10 @@ dev = DeviceProxy('sr/devmapper/3hc')
attlist = dev.get_attribute_list()
for att in attlist:
print att
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)
dev.poll_attribute(att,3000)
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