slicops.device package¶
Basic device operations
- copyright:
Copyright (c) 2024 The Board of Trustees of the Leland Stanford Junior University, through SLAC National Accelerator Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All Rights Reserved.
- license:
- exception slicops.device.AccessorPutError[source]¶
Bases:
RuntimeErrorThis accessor is not writable
- class slicops.device.Device(device_name)[source]¶
Bases:
objectWrapper around physical device
- meta¶
information about device
- accessor(accessor_name)[source]¶
Get _Accessor for more complex operations
- Parameters:
accessor_name (str) – control system independent name
- Returns:
object holding control system state
- Return type:
_Accessor
- exception slicops.device.DeviceError[source]¶
Bases:
RuntimeErrorError communicating with accessor
Submodules¶
slicops.device.screen module¶
Control a Screen
- copyright:
Copyright (c) 2024 The Board of Trustees of the Leland Stanford Junior University, through SLAC National Accelerator Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All Rights Reserved.
- license:
- class slicops.device.screen.ErrorKind(*values)[source]¶
Bases:
EnumErrors passed to on_screen_device_error
- fsm = 1¶
- monitor = 2¶
- upstream = 3¶
- class slicops.device.screen.EventHandler[source]¶
Bases:
objectClients of DeviceScreen must implement this