Eventing not working with Tango 9.3.2
Eventing was working fine with Tango 9.2.5a, however after upgrading to 9.3.2 from the tango-controls channel i no longer get events from lima devices.
I have tested that eventing in general is working in tango by building a test device from this pytest: https://github.com/tango-controls/pytango/blob/566c549eaa7b6b3cbb87152f1bdaec137e6c49a9/tests/test_event.py#L41
and can confirm that the following works:
test = PyTango.DeviceProxy('id00/event/test') def cb(data): print('cb', data) test.subscribe_event('attr', PyTango.EventType.CHANGE_EVENT, cb) test.send_event() cb EventData[ attr_name = 'tango://el7.localdomain:10000/id00/event/test/attr' attr_value = DeviceAttribute(data_format = tango._tango.AttrDataFormat.SCALAR, dim_x = 1, dim_y = 0, has_failed = False, is_empty = False, name = 'attr', nb_read = 1, nb_written = 0, quality = tango._tango.AttrQuality.ATTR_VALID, r_dimension = AttributeDimension(dim_x = 1, dim_y = 0), time = TimeVal(tv_nsec = 0, tv_sec = 1570024492, tv_usec = 219171), type = tango._tango.CmdArgType.DevDouble, value = 1.0, w_dim_x = 0, w_dim_y = 0, w_dimension = AttributeDimension(dim_x = 0, dim_y = 0), w_value = None) device = EventDevice(id00/event/test) err = False errors = () event = 'change' reception_date = TimeVal(tv_nsec = 0, tv_sec = 1570024492, tv_usec = 219427)]
Now to the problem in hand, the Bpm device no longer seems to send the bvdata event.
I have tried
- enabling TangoEvent on my LimaCCDs device, then subscribe to last_image. Run prepareAcq(), startAcq() -> no events
- With @claustre we have tested that the push is happening from the BVDataTask via print trace, however subscription to bvdata from the Bpm device -> no events
- have confirmed that
enable_tango_eventfrom https://gitlab.esrf.fr/limagroup/Lima-tango-python/blob/master/plugins/Bpm.py#L94 is True
Not sure what has caused this?