fastcs.transport.epics.ca.util#

Members

builder_callable_from_attribute

Returns a callable to make the softioc record from an attribute instance.

cast_from_epics_type

Casts from an EPICS datatype to a FastCS datatype.

cast_to_epics_type

Casts from an attribute's datatype to an EPICS datatype.

record_metadata_from_attribute

Converts attributes on the Attribute to the field name/value in the record metadata.

record_metadata_from_datatype

Converts attributes on the DataType to the field name/value in the record metadata.

fastcs.transport.epics.ca.util.record_metadata_from_attribute(attribute: Attribute[T]) dict[str, str | None][source]#

Converts attributes on the Attribute to the field name/value in the record metadata.

fastcs.transport.epics.ca.util.record_metadata_from_datatype(datatype: DataType[T], out_record: bool = False) dict[str, str][source]#

Converts attributes on the DataType to the field name/value in the record metadata.

fastcs.transport.epics.ca.util.cast_from_epics_type(datatype: DataType[T], value: object) T[source]#

Casts from an EPICS datatype to a FastCS datatype.

fastcs.transport.epics.ca.util.cast_to_epics_type(datatype: DataType[T], value: T) object[source]#

Casts from an attribute’s datatype to an EPICS datatype.

fastcs.transport.epics.ca.util.builder_callable_from_attribute(attribute: AttrR | AttrW | AttrRW, make_in_record: bool)[source]#

Returns a callable to make the softioc record from an attribute instance.