fix: remove .wait() from omny_xray_gui in on_dap_params in gui #209

Open
wyzula_j wants to merge 4 commits from fix/dap-recursion into main
Owner

Summary

Limit XRayEye DAP parameter forwarding to the active alignment procedure.

Previously, waveform_x/y.dap_params_update were connected for the full widget lifetime. Since the embedded waveform widgets react to scan progress, DAP parameter updates could be triggered repeatedly during subsequent scan activity, potentially causing RPC timeouts, GUI unresponsiveness, and scan queue blocking.

This adds an explicit set_dap_params_forwarding(enabled: bool) RPC switch. The alignment script enables DAP parameter forwarding at the start of the XRayEye alignment and disables it in a finally block when the procedure exits.

## Summary Limit XRayEye DAP parameter forwarding to the active alignment procedure. Previously, `waveform_x/y.dap_params_update` were connected for the full widget lifetime. Since the embedded waveform widgets react to scan progress, DAP parameter updates could be triggered repeatedly during subsequent scan activity, potentially causing RPC timeouts, GUI unresponsiveness, and scan queue blocking. This adds an explicit `set_dap_params_forwarding(enabled: bool)` RPC switch. The alignment script enables DAP parameter forwarding at the start of the XRayEye alignment and disables it in a `finally` block when the procedure exits.
wyzula_j requested review from appel_c 2026-05-18 11:36:46 +02:00
wyzula_j requested review from holler 2026-05-18 11:36:46 +02:00
wyzula_j requested review from perl_d 2026-05-18 11:36:46 +02:00
wyzula_j requested review from wakonig_k 2026-05-18 11:36:46 +02:00
wyzula_j self-assigned this 2026-05-18 11:36:50 +02:00
wyzula_j force-pushed fix/dap-recursion from d85b2eb699 to d7c365c2d2 2026-05-18 13:01:44 +02:00 Compare
wyzula_j force-pushed fix/dap-recursion from d7c365c2d2 to 2fcca9bb14 2026-05-19 10:13:53 +02:00 Compare
wyzula_j added 3 commits 2026-05-19 13:35:09 +02:00
wyzula_j force-pushed fix/dap-recursion from 2fcca9bb14 to 99566d6aa3 2026-05-19 13:35:09 +02:00 Compare
wyzula_j added 1 commit 2026-05-19 15:36:46 +02:00
fix: fetch the status of the queue in next event loop
CI for csaxs_bec / test (pull_request) Successful in 1m33s
CI for csaxs_bec / test (push) Successful in 1m33s
ad6ebfa60f
All checks were successful
CI for csaxs_bec / test (pull_request) Successful in 1m33s
Required
Details
CI for csaxs_bec / test (push) Successful in 1m33s
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/dap-recursion:fix/dap-recursion
git checkout fix/dap-recursion
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#209