Skip to content

Eliminate elements property on PseudoMotor and PseudoCounter devices

Controller device of pseudo motors and counters have properties motor_role_ids and counter_role_ids respectivelly. PseudoMotor device and PseudoCounter device have elements property. Both pairs should have the same value otherwise these objects end up in an inconsistent state. Eliminate the elements properties to avoid this point of failure by maintaining only the motor_role_ids and counter_role_ids properties and discovering the list of elements for the PseudoMotor and PseudoCounter needs dynamically from their controllers.

@sardana-org, whenever CI pipelines succeeds this is ready for the review and eventual integration. Thanks!

Fixes #1702 (closed).

Merge request reports