Fix SocketController usage after ophyd_devices refactoring #109
Closed
appel_c
wants to merge 5 commits from
fix/refactor_controller_ophyd_devices into main
pull from: fix/refactor_controller_ophyd_devices
merge into: bec:main
bec:main
bec:refactor/module-structure
bec:fixes/lamni_improvements
bec:feat/add_panda_csaxs
bec:add/rio-galil-set-gain
bec:fix/fj_integration
bec:feat/eps_device
bec:feat/add_flomni_ext_en
bec:fix/socket-readback-timeout-test
bec:feat/enhance-gui
bec:feat/add_galil_rio
bec:smaract_implementation_ES
bec:refactor/mcs_card_refactoring
bec:fix/controller_destroy
bec:fix/controller_ensure_wait_for_connection_called
bec:fix/deprecate_pilatus_migrate_falcon
bec:fix/rate_limit_warning_in_live_mode
bec:sastt_config
bec:fix/controller-migration
bec:fix/remove_bl_check
bec:feat/allied_vision_camera
bec:fix/compare_transition_status
bec:ids_monochrome
bec:fix/async_signal_refactoring
bec:flomni_heater
bec:test_gitea
bec:x12sa_test_20251006T161237
bec:test_branch
bec:copier-upgrade
bec:feat/add_jungfrau_joch_integration
bec:test_branch_gitea
bec:x12sa_test_20250822T141018
bec:gac-x12sa_20250710T162233
bec:refactor/ids_camera
bec:fix/omny_alignment_type_hints
bec:feat/add_eiger_jjf
bec:refactor/refactored_ddg_csaxs
bec:gac-x12sa_20241004T141251
bec:docs/csaxs_docs
bec:progress
bec:ci/update_with_pkg_job
bec:ci/security_detection
bec:update_bl_repos
Labels
Clear labels
issue::not confirmed
issue::not reproducible
issue::reproducible
priority::critical
priority::needed
priority::nice to have
scope::backend
scope::frontend
stage::in development
stage::on hold
stage::pre_release
stage::ready for review
stage::selected for development
stage::weekly backlog
type::bug
type::discussion
type::doc
type::feature
type::improvement
type::test
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Used if an issue has not yet been confirmed by a developer
Used if an issue is not reproducible
Used if a developer was able to reproduce the issue
Should be done as soon as possible
An important update to the code base
Not really needed but a good improvement
An issue regarding the backend services
An issue regarding the user-facing services
This issue is currently being worked on
Something is blocking the development
For issues that have been merged into a pre-release branch and are waiting for their release.
For issues that have been resolved and are ready for review
This issue has been selected for development but has not been scheduled yet
This issue has been selected for development for the next development cycle
It's a bug!
A discussion is wanted/needed
Improvements to the documentation
A new feature
Neither a feature nor a bug but an improvement to the code base
Missing tests or improvements to the test suite
Something is not working
This issue or pull request already exists
New feature
Need some help
Something is wrong
More information is needed
This won't be fixed
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: bec/csaxs_bec#109
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "fix/refactor_controller_ophyd_devices"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR fixes the usage of the SocketController for the integrations at cSAXS. Most relevant changes are renaming the
set_device_enablemethod tochange_device_read_write, adding that the device_manager is passed to the controller, and adding thewait_for_connectionmethod for all devices with a controller such thatwait_for_connection(timeout=timeout)callscontroller.on(timeout=timeout)with the specified timeout.closed in favor of #112
Pull request closed