caproto.ioc_examples.macros.MacroifiedNames¶
-
class
caproto.ioc_examples.macros.
MacroifiedNames
(prefix: str, *, macros: Optional[Dict[str, str]] = None, parent: Optional[caproto.server.server.PVGroup] = None, name: Optional[str] = None)[source]¶ An IOC with PVs that have macro-ified names.
Required macros: “beamline” and “suffix”
¶ Attribute
Suffix
Docs
Type
Notes
Alarm Group
placeholder1
{beamline}:{suffix}.VAL
int
placeholder2
{beamline}:{suffix}.RBV
int
Methods
group_read
(instance)Generic read called for channels without get defined
group_write
(instance, value)Generic write called for channels without put defined
Attributes
default_values
type_map
type_map_read_only
pvproperty methods