solid_attenuator.util¶
Functions
|
Set an alarm if the condition is met - otherwise NO_ALARM. |
|
[Decorator] If an asynchronous handler is called multiple times, block. |
|
Add a new handler to the logger. |
|
Get a shared caproto threading client context. |
|
Force in a maximum length value. |
|
Integer array such as [1, 0, 0, 0] to integer (8). |
|
Monitor pv_names asynchronously, yielding events as they happen. Parameters ———- *pv_names : str PV names to monitor. async_lib : caproto.server.AsyncLibraryLayer The async library layer shim to get compatible classes from. context : caproto.threading.client.Context The threading context to use. data_type : {‘time’, ‘control’, ‘native’} The subscription type. Yields ——- event : {‘subscription’, ‘connection’} The event type. context : str or Subscription For a ‘connection’ event, this is the PV name. For a ‘subscription’ event, this is the Subscription instance. data : str or EventAddResponse For a ‘subscription’ event, the EventAddResponse holds the data and timestamp. For a ‘connection’ event, this is one of |
|
When .PROC is changed, write the value value to the pvproperty. |
Classes
|
State which matches that of the motion IOC. |
Exceptions
|
Misconfiguration blocks the calculation from continuing. |