Fix/gui cached readings #263

Merged
holler merged 3 commits from fix/gui_cached_readings into main 2026-07-16 16:28:12 +02:00
3 Commits
Author SHA1 Message Date
holler 828458fd2b Merge branch 'main' into fix/gui_cached_readings
CI for csaxs_bec / test (push) Successful in 1m31s
CI for csaxs_bec / test (pull_request) Successful in 1m49s
2026-07-16 16:26:15 +02:00
x01dc 930d995221 fix(bec_widgets): require sample owner in sample-storage widget
CI for csaxs_bec / test (push) Successful in 2m27s
CI for csaxs_bec / test (pull_request) Successful in 1m34s
The owner prompt was labeled and treated as optional, but an occupied
slot must always have an owner recorded. Both the rename and new-sample
dialogs now validate the owner the same way the name field already is:
cancelling or leaving it empty aborts the write instead of silently
falling back to a blank/previous owner.
2026-07-16 16:23:21 +02:00
x01dc 8a08ec3e9b fix(bec_widgets): use cached device reads for sample-storage & slit polling
Both widgets' polling loops were issuing live EPICS round-trips every
2s even though the underlying signals are auto_monitor=True and BEC
already keeps a fresh monitored value locally. Switching to
read(cached=True) removes that redundant hardware traffic; for the
slit widget this also makes the old round-robin "selected slit every
tick, others in rotation" strategy unnecessary, so it now polls all
six slits every tick.
2026-07-16 16:23:01 +02:00