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

Merged
wyzula_j merged 5 commits from fix/dap-recursion into main 2026-05-21 14:15:06 +02:00
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 force-pushed fix/dap-recursion from 2fcca9bb14 to 99566d6aa3 2026-05-19 13:35:09 +02:00 Compare
wyzula_j force-pushed fix/dap-recursion from ad6ebfa60f to f938dff18d 2026-05-20 13:41:04 +02:00 Compare
wyzula_j added 5 commits 2026-05-20 18:57:40 +02:00
wyzula_j force-pushed fix/dap-recursion from f938dff18d to 541c3829b1 2026-05-20 18:57:40 +02:00 Compare
wakonig_k approved these changes 2026-05-21 14:14:32 +02:00
wyzula_j merged commit 541c3829b1 into main 2026-05-21 14:15:06 +02:00
wyzula_j deleted branch fix/dap-recursion 2026-05-21 14:15:07 +02:00
Sign in to join this conversation.
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#209