Commit 60d7aef5 authored by bliss administrator's avatar bliss administrator

Sorry, get back event polling configuration for acq_status

Lima server does not push event on acq_status, when status change from Running to Ready.
parent 06a32e66
......@@ -58,6 +58,7 @@ class BVWebserver:
limaccds_device = PyTango.DeviceProxy(device["lima"])
try:
limaccds_device.poll_attribute('acq_status', 500)
limaccds_device.subscribe_event('acq_status', PyTango.EventType.CHANGE_EVENT, self.watch_state)
except PyTango.DevFailed as e:
print('Cant connect to ', camera_name, e)
......
Markdown is supported
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