Skip to content

Refactor XPS–LSE data flow #39

@xiaoyachong

Description

@xiaoyachong

Although the current lse_operator provides a temporary solution for TRS beamtime—by implementing a WebSocket listener that consumes messages produced by the XPS code—we agreed that a better long-term approach is as follows:

Proposed architecture:

  • In XPS: publish frames to Tiled.
  • In LSE: read frames from Tiled as they arrive.

To achieve this, three changes are needed:

  • In this repository (ArroyoXPS):

    • Add a Tiled publisher to save shot_mean.
    • Include the tiled_url in the WebSocket message.
  • In arroyosas:

    • Add the websocket listner in arroyosas (refer to the existing Tiled WebSocket listener) instead of creating one in lse_operator.
  • In the LSE repository:

    • Reuse only the existing arroyo service.
    • Remove the newly added arroyo_xps service.

Metadata

Metadata

Assignees

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