Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NDAttributes for Xspress detectors #340

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

NDAttributes for Xspress detectors #340

wants to merge 10 commits into from

Conversation

canismarko
Copy link
Contributor

@canismarko canismarko commented Jan 11, 2025

Area detectors can add attributes to the HDF5 file. This PR lets bluesky/ophyd-async read the attributes from the IOC and makes them available through Tiled.

During testing, there was a considerable delay when measuring each data point. This was due to the large number of documents generated for the NDAttributes. To work around this, the run engine now uses a kafka publisher by default instead of individual mongo and tiled callbacks.

This PR also changes the Kafka topics available at the beamline, consolidating the individual branch topics (e.g. "s25idc_queueserver") into "haven" and "haven-dev". This means that all mongodb documents are going to end up in the s25idc-microprobe mongo database. This isn't a problem since both branches' databases will be streamed into the new relational database, and if we revert from the relational database back to mongo we'll combine both branches into one database anyway.

Things to do before merging:

  • add tests
  • write docs
  • update iconfig_testing.toml
  • flake8, black, and isort

@canismarko canismarko added device support Issues that allow support for certain kinds of hardware Database These items will change how the data are stored in the database. labels Jan 11, 2025
@canismarko canismarko requested a review from yannachen January 14, 2025 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Database These items will change how the data are stored in the database. device support Issues that allow support for certain kinds of hardware
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant