BCDA-APS / bluesky_training

Bluesky training, including instrument package
https://bcda-aps.github.io/bluesky_training/
Other
11 stars 0 forks source link

add ophydregistry to instrument package startup #263

Closed prjemian closed 4 months ago

prjemian commented 4 months ago
__all__.append("registry")
from ophydregistry import Registry

# after defining the default timeout for EpicsSignalBase

# Create a registry of ophyd devices
registry = Registry(auto_register=True)

where

auto_register
  If true, new ophyd objects will be registered without needing to
  call ``register()``.

@canismarko: This will be easy.

prjemian commented 4 months ago

Closed as part of #245