secop_ophyd.SECoPDevices#
Module Contents#
Classes#
Annotation for Parameter Signals, defines the path to the parameter in the secclient module dict |
|
Annotation for Module Property Signals, defines the path to the property |
|
Standard readable SECoP device, corresponding to a SECoP module with the interface class “Readable” |
|
Standard triggerable SECoP device, corresponding to a SECoP module with the0s interface class “Triggerable” |
|
Move logic for a SECoP “Drivable” module. |
|
Standard movable SECoP device, corresponding to a SECoP module with the interface class “Drivable” |
Functions#
Data#
API#
- secop_ophyd.SECoPDevices.DISABLED = 0#
- secop_ophyd.SECoPDevices.IDLE = 100#
- secop_ophyd.SECoPDevices.STANDBY = 130#
- secop_ophyd.SECoPDevices.PREPARED = 150#
- secop_ophyd.SECoPDevices.WARN = 200#
- secop_ophyd.SECoPDevices.WARN_STANDBY = 230#
- secop_ophyd.SECoPDevices.WARN_PREPARED = 250#
- secop_ophyd.SECoPDevices.NSTABLE = 270#
- secop_ophyd.SECoPDevices.BUSY = 300#
- secop_ophyd.SECoPDevices.DISABLING = 310#
- secop_ophyd.SECoPDevices.INITIALIZING = 320#
- secop_ophyd.SECoPDevices.PREPARING = 340#
- secop_ophyd.SECoPDevices.STARTING = 360#
- secop_ophyd.SECoPDevices.RAMPING = 370#
- secop_ophyd.SECoPDevices.STABILIZING = 380#
- secop_ophyd.SECoPDevices.FINALIZING = 390#
- secop_ophyd.SECoPDevices.ERROR = 400#
- secop_ophyd.SECoPDevices.ERROR_STANDBY = 430#
- secop_ophyd.SECoPDevices.ERROR_PREPARED = 450#
- secop_ophyd.SECoPDevices.UNKNOWN = 401#
- secop_ophyd.SECoPDevices.IGNORED_PROPS = ['meaning', '_plotly']#
- secop_ophyd.SECoPDevices.format_assigned(device: ophyd_async.core.StandardReadable, signal: ophyd_async.core.SignalR) bool[source]#
- secop_ophyd.SECoPDevices.is_read_signal(device: ophyd_async.core.StandardReadable, signal: ophyd_async.core.SignalR | ophyd_async.core.SignalRW) bool[source]#
- secop_ophyd.SECoPDevices.is_config_signal(device: ophyd_async.core.StandardReadable, signal: ophyd_async.core.SignalR | ophyd_async.core.SignalRW) bool[source]#
- class secop_ophyd.SECoPDevices.ParameterType[source]#
Annotation for Parameter Signals, defines the path to the parameter in the secclient module dict
- class secop_ophyd.SECoPDevices.PropertyType[source]#
Annotation for Module Property Signals, defines the path to the property
- class secop_ophyd.SECoPDevices.SECoPDeviceConnector(sri: str, auto_fill_signals: bool = True, loglevel=logging.INFO, logdir: str | None = None)[source]#
Bases:
ophyd_async.core.DeviceConnector- create_children_from_annotations(device: ophyd_async.core.Device)[source]#
- fill_backend_with_path(backend: secop_ophyd.SECoPSignal.SECoPBackend, annotations: list[Any])[source]#
- async connect_mock(device: ophyd_async.core.Device, mock: ophyd_async.core.LazyMock)[source]#
- async connect_real(device: ophyd_async.core.Device, timeout: float, force_reconnect: bool)[source]#
- class secop_ophyd.SECoPDevices.SECoPDevice(sri: str = '', name: str = '', connector: secop_ophyd.SECoPDevices.SECoPDeviceConnector | None = None, loglevel=logging.INFO, logdir: str | None = None)[source]#
- class secop_ophyd.SECoPDevices.SECoPNodeDevice(sec_node_uri: str = '', name: str = '', loglevel=logging.INFO, logdir: str | None = None)[source]#
- class secop_ophyd.SECoPDevices.SECoPCommunicatorDevice(sri: str = '', name: str = '', connector: secop_ophyd.SECoPDevices.SECoPDeviceConnector | None = None, loglevel=logging.INFO, logdir: str | None = None)[source]#
- class secop_ophyd.SECoPDevices.SECoPReadableDevice(sri: str = '', name: str = '', connector: secop_ophyd.SECoPDevices.SECoPDeviceConnector | None = None, loglevel=logging.INFO, logdir: str | None = None)[source]#
Bases:
secop_ophyd.SECoPDevices.SECoPDevice,bluesky.protocols.Triggerable,bluesky.protocols.SubscribableStandard readable SECoP device, corresponding to a SECoP module with the interface class “Readable”
Initialization
Initializes the SECoPReadableDevice
- Parameters:
secclient (AsyncFrappyClient) – SECoP client providing communication to the SEC Node
module_name (str) – Name of the SEC Node module that is represented by this device
- async wait_for_idle()[source]#
asynchronously waits until module is IDLE again. this is helpful, for running commands that are not done immediately
- trigger() ophyd_async.core.AsyncStatus[source]#
- class secop_ophyd.SECoPDevices.SECoPTriggerableDevice(sri: str = '', name: str = '', connector: secop_ophyd.SECoPDevices.SECoPDeviceConnector | None = None, loglevel=logging.INFO, logdir: str | None = None)[source]#
Bases:
secop_ophyd.SECoPDevices.SECoPReadableDevice,bluesky.protocols.StoppableStandard triggerable SECoP device, corresponding to a SECoP module with the0s interface class “Triggerable”
Initialization
Initialize SECoPTriggerableDevice
- Parameters:
secclient (AsyncFrappyClient) – SECoP client providing communication to the SEC Node
module_name (str) – ame of the SEC Node module that is represented by this device
- go: ophyd_async.core.TriggerableCommand = None#
- class secop_ophyd.SECoPDevices.SECoPWritableDevice(sri: str = '', name: str = '', connector: secop_ophyd.SECoPDevices.SECoPDeviceConnector | None = None, loglevel=logging.INFO, logdir: str | None = None)[source]#
- class secop_ophyd.SECoPDevices.SECoPMovableLogic[source]#
Bases:
ophyd_async.core.MovableLogic[typing.Any]Move logic for a SECoP “Drivable” module.
A move is considered complete once the module’s status parameter leaves BUSY and enters the IDLE range, rather than when readback equals setpoint.
- status: ophyd_async.core.SignalR = None#
- secclient: secop_ophyd.AsyncFrappyClient.AsyncFrappyClient = None#
- logger: logging.Logger = None#
- class secop_ophyd.SECoPDevices.SECoPMoveableDevice(sri: str = '', name: str = '', connector: secop_ophyd.SECoPDevices.SECoPDeviceConnector | None = None, loglevel=logging.INFO, logdir: str | None = None)[source]#
Bases:
secop_ophyd.SECoPDevices.SECoPReadableDevice,ophyd_async.core.StandardMovable[typing.Any]Standard movable SECoP device, corresponding to a SECoP module with the interface class “Drivable”
Initialization
Initialize SECoPMovableDevice
- Parameters:
secclient (AsyncFrappyClient) – SECoP client providing communication to the SEC Node
module_name (str) – ame of the SEC Node module that is represented by this device
- movable_logic() ophyd_async.core.MovableLogic#
- secop_ophyd.SECoPDevices.IF_CLASSES = None#