Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L Lima-tango-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LimaGroup
  • Lima-tango-python
  • Issues
  • #17

Closed
Open
Created Oct 02, 2019 by Stuart Fisher@sfisherOwner

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_event from https://gitlab.esrf.fr/limagroup/Lima-tango-python/blob/master/plugins/Bpm.py#L94 is True

Not sure what has caused this?

Assignee
Assign to
Time tracking