-
Notifications
You must be signed in to change notification settings - Fork 2
Description
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:
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