Skip to content

Remove code to wait for device connection #461

Closed

Description

@joeshannon

The device connection is now handled by device_instantiation in dodal. This function also provides the option on whether to wait for connection, so it is not needed here too.

Additionally it can lead to undefined (currently) behaviour if the device is initially created with fake_with_ophyd_sim = True but then later connected again by blueapi with fake_with_ophyd_sim = False.

For full customisation and flexibility of lazy connect we need #440.

Activity

  1. joeshannon commented on May 10, 2024

    @joeshannon
    ContributorAuthor

    Also remove sim from BlueskyContext for similar reasons - can be handled by device instantiation. It is also always hardcoded to false when BC is created.

  2. added 2 commits that reference this issue on May 10, 2024
    f545018
    aeae64c
  3. added a commit that references this issue on May 13, 2024
    4f1f44c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions