Skip to content

Enhancements for TimePix #36

@dylanmcreynolds

Description

@dylanmcreynolds

Several changes have to be made switch from the Bassler camera to timespix. Assuming that we can stream frames from timepix, we now have a situation where we might be getting start/stop messages over ZMQ from labview, but frames from a different ZMQ stream from Timepix.

So, we will need two listener instances, both feeding messages to the one operator.

One big change will be in the cli class:

https://github.com/als-computing/ArroyoXPS/blob/d74a5f96b6a423010022136dc72d77a4f10814d5/src/tr_ap_xps/apps/processor_cli.py#L62C19-L62C86

To register multiple ZMQ listeners:

listener = XPSLabviewZMQListener(operator=operator, **zmq_socket=lv_zmq_socket)**

becomes something like the following, after we build the timepix listener to get frames from timepix

labview_ listener = XPSLabviewZMQListener(operator=operator, zmq_socket=lv_zmq_socket)
timepix_listener = TimepixZMQListener(operator=operator, zmq_socket=timepix_zmq_socket)

So we need to create a TimepixZMQListener (once we have ZMQ streams from timepix). This new class will be similar to the XPSLabviewZMQListener, but will only handle frames, whie start and stop messages will still come from the XPS LabviewZMQListener.

This might all change a bit when we have it all running at the beamline, but not matter what, we will need the TimepixZMQListener

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions