Commit Graph
467 Commits
Author SHA1 Message Date
GotthardG a1a5ad2ec1 Implement WebSocket-based spreadsheet updater with Redis caching
Replaced polling-based sample info retrieval with a WebSocket-based approach for real-time updates. Introduced Redis integration for caching the processed spreadsheet, improving performance and data accessibility. Added structured logging, error handling, and graceful shutdown for better reliability and maintainability.
2025-06-25 11:41:56 +02:00
leonarski_f 2efaa4dd88 DAQ: Add spreadsheetupdater.py 2025-06-25 11:26:10 +02:00
leonarski_f 1c2a08ac16 GUI: Open file after rotation finished 2025-06-25 11:25:48 +02:00
leonarski_f f7734b4355 BeamlineConfig: Store spreadsheet 2025-06-25 10:57:33 +02:00
leonarski_f 2513f0530a GUI: Show dose 2025-06-25 10:29:08 +02:00
leonarski_f 8ec6c04c05 DAQ: Show flux 2025-06-25 10:04:51 +02:00
leonarski_f 77cf881c8c VERSION 0.2.0 2025-06-24 16:32:18 +02:00
leonarski_f 7e0a006668 GUI/DAQ: Integrate sample mounting logic and improve file path management
- Added `SampleMountLogic` for handling sample-related updates.
- Extended file path handling with additional macros (`{sample}`, `{sample_id}`, `{prefix}`).
- Updated `beam size` limits in GUI.
- Modified DAQ flux computation using BPM values.
- Enhanced `SampleShortInfo` model with `aaredb_params`.
2025-06-24 16:31:46 +02:00
GotthardG d0c777decd Refactor SSE listener and improve logging for TELL updates
Build and Publish / build (push) Successful in 21s
Enhanced the SSE listener with better error handling and debug logs. Added checks for missing TELL URL and improved event data handling for "DewarContentUpdate". This ensures robustness and clarity in handling TELL updates.
2025-06-24 13:08:08 +02:00
GotthardG f14e652edd Refactor SSE listener and improve logging for TELL updates
Build and Publish / build (push) Successful in 22s
Enhanced the SSE listener with better error handling and debug logs. Added checks for missing TELL URL and improved event data handling for "DewarContentUpdate". This ensures robustness and clarity in handling TELL updates.
2025-06-24 13:07:02 +02:00
leonarski_f 7314a9dbf7 DAQ: Turn on front light after going from the sample alignment
Build and Publish / build (push) Successful in 23s
2025-06-24 12:55:42 +02:00
leonarski_f dee1fea329 DAQ: Offset Y for 2D raster scan only 2025-06-24 12:55:21 +02:00
leonarski_f a9a7bd40f2 GUI: Save current omega
Build and Publish / build (push) Successful in 22s
2025-06-24 11:51:58 +02:00
leonarski_f eca90e7c51 DAQ: Raster scan fixes 2025-06-24 11:51:58 +02:00
leonarski_f 7298f75dfa DAQ: Minor fixes to logic for setting up JFJoch dataset 2025-06-24 11:12:33 +02:00
GotthardG 35e7ad3ce0 Add SSE client support for TELL updates and enhance resilience
Build and Publish / build (push) Successful in 21s
Replaced periodic polling with an SSE-based listener for real-time TELL updates, improving efficiency and responsiveness. Enhanced WebSocket client logic by implementing automatic reconnection. Updated dependencies to include `sseclient` and upgraded `aaredb` for compatibility.
2025-06-24 11:07:01 +02:00
leonarski_f 443ed7aaca GUI: Fix run number for raster
Build and Publish / build (push) Successful in 22s
2025-06-23 15:36:05 +02:00
leonarski_f 7f75e0c673 GUI: Put spot count (low res.) in raster results 2025-06-23 15:00:38 +02:00
leonarski_f 88199c8d49 GUI: For raster scan, one can browse through images 2025-06-23 13:11:45 +02:00
leonarski_f 674a0e36eb GUI: Adjustments to be able to load images for a completed grid
Build and Publish / build (push) Successful in 23s
2025-06-22 18:25:28 +02:00
leonarski_f e135876766 GUI: Add more raster analysis methods
Build and Publish / build (push) Successful in 22s
2025-06-22 14:29:53 +02:00
leonarski_f e8961be15f Common: Upgrade jfjoch_client to 1.0.0rc51 2025-06-22 14:25:08 +02:00
leonarski_f bdf16aa724 GUI: WIP - option to load image for grid scan automatically 2025-06-22 14:24:20 +02:00
leonarski_f 8b72e7f5d1 GUI: Sample camera settings fixed
Build and Publish / build (push) Successful in 22s
2025-06-21 14:17:21 +02:00
leonarski_f 90b4207a34 GUI: Sorting works 2025-06-21 14:04:30 +02:00
leonarski_f 49d57e66e4 DAQ: Token validity = 1 1 week 2025-06-21 14:04:16 +02:00
leonarski_f 9dcd322ddd GUI: Sorting is persistent over DB updates
Build and Publish / build (push) Successful in 22s
2025-06-20 16:44:12 +02:00
leonarski_f d083a1f4e0 GUI: Set default as 100 Hz
Build and Publish / build (push) Successful in 22s
2025-06-20 13:49:55 +02:00
leonarski_f 8271db82c2 DAQ/GUI: Improvements during the beamtime 2025-06-20 13:49:55 +02:00
leonarski_f 855e2471c3 DAQ: ring current is always non-negative number
Build and Publish / build (push) Successful in 23s
2025-06-18 21:15:59 +02:00
leonarski_f 2805ce7bd0 GUI: Change default directory
Build and Publish / build (push) Successful in 22s
2025-06-18 17:55:53 +02:00
leonarski_f 05a01f4efb DAQ: More work during the beamtime preparations
Build and Publish / build (push) Successful in 22s
2025-06-18 17:27:11 +02:00
leonarski_f 486d65c7cc DAQ: WIP
Build and Publish / build (push) Successful in 23s
2025-06-18 13:27:48 +02:00
leonarski_f 8c517d4bab DAQ: Modifications of June 18th 2025-06-18 13:27:00 +02:00
GotthardG d66f758ff3 Added functions to create rotation and gridscans runs into aaredb.py
Build and Publish / build (push) Successful in 22s
2025-06-18 13:23:19 +02:00
leonarski_f c670668dd0 DAQ: Integration of AareDB code (WIP)
Build and Publish / build (push) Successful in 22s
2025-06-18 11:17:34 +02:00
leonarski_f 44bc0046fb DAQ: Integration of AareDB code
Build and Publish / build (push) Successful in 22s
2025-06-18 10:30:12 +02:00
GotthardG 6cfef536e2 Added functions to create rotation and gridscans runs into aaredb.py
Build and Publish / build (push) Successful in 22s
2025-06-18 09:02:58 +02:00
leonarski_f fde6238c60 GUI: Fix default parameters for DiffractionGeometry
Build and Publish / build (push) Successful in 22s
2025-06-17 17:27:32 +02:00
leonarski_f fd345a2fe5 GUI: Raster grid manager add unit cell 2025-06-17 17:27:13 +02:00
leonarski_f 3c7ae33b80 GUI: Add beamline name to BeamlineStatus
Build and Publish / build (push) Successful in 23s
2025-06-17 16:22:36 +02:00
leonarski_f dafda5adcb GUI: Add detector description and serial number
Build and Publish / build (push) Successful in 22s
2025-06-17 16:16:54 +02:00
leonarski_f cbd6c73890 GUI: Fix bug in raster grid shown wrong 2025-06-17 16:16:26 +02:00
leonarski_f 136e85b2d7 Merge remote-tracking branch 'origin/tellupdater'
Build and Publish / build (push) Successful in 23s
# Conflicts:
#	common/pyproject.toml
2025-06-17 14:22:04 +02:00
GotthardG f369e5b555 Refactor TELL integration and update dependencies.
Build and Publish / build (pull_request) Successful in 22s
Replaced direct puck management logic with a WebSocket-based system for real-time updates from TELL. Introduced `tellupdater.py` to handle updates and improved AareDB client usage for cleaner API interactions. Updated `pyproject.toml` files to include dependency changes, ensuring compatibility with new TELL workflows.
2025-06-17 14:15:51 +02:00
GotthardG bf170cfcf5 Refactor TELL integration and update dependencies.
Replaced direct puck management logic with a WebSocket-based system for real-time updates from TELL. Introduced `tellupdater.py` to handle updates and improved AareDB client usage for cleaner API interactions. Updated `pyproject.toml` files to include dependency changes, ensuring compatibility with new TELL workflows.
2025-06-17 14:15:40 +02:00
GotthardG c6a4cf0e8b Refactor TELL integration and update dependencies.
Replaced direct puck management logic with a WebSocket-based system for real-time updates from TELL. Introduced `tellupdater.py` to handle updates and improved AareDB client usage for cleaner API interactions. Updated `pyproject.toml` files to include dependency changes, ensuring compatibility with new TELL workflows.
2025-06-17 14:13:46 +02:00
GotthardG 4b1acfb827 Refactor TELL integration and update dependencies.
Replaced direct puck management logic with a WebSocket-based system for real-time updates from TELL. Introduced `tellupdater.py` to handle updates and improved AareDB client usage for cleaner API interactions. Updated `pyproject.toml` files to include dependency changes, ensuring compatibility with new TELL workflows.
2025-06-17 13:43:15 +02:00
GotthardG 4003cbd2b1 Refactor TELL integration and update dependencies.
Replaced direct puck management logic with a WebSocket-based system for real-time updates from TELL. Introduced `tellupdater.py` to handle updates and improved AareDB client usage for cleaner API interactions. Updated `pyproject.toml` files to include dependency changes, ensuring compatibility with new TELL workflows.
2025-06-17 13:38:31 +02:00
GotthardG dc0874d8d4 Refactor TELL integration and update dependencies.
Replaced direct puck management logic with a WebSocket-based system for real-time updates from TELL. Introduced `tellupdater.py` to handle updates and improved AareDB client usage for cleaner API interactions. Updated `pyproject.toml` files to include dependency changes, ensuring compatibility with new TELL workflows.
2025-06-17 13:36:27 +02:00