caproto.server.PvpropertyData

Inheritance diagram of PvpropertyData
class caproto.server.PvpropertyData(*, pvname, group, pvspec, doc=None, record=None, logger=None, **kwargs)[source]

A top-level class for mixing in with ChannelData subclasses.

Takes in a fully-expanded pvname, PVSpec, and group instance.

Parameters
pvnamestr

The fully expanded process variable name.

groupPVGroup

The PVGroup instance to which this pvproperty belongs.

pvspecPVSpec

The associated PVSpec instance, containing detailed information about the pvproperty.

docstr, optional

Docstring / documentation information.

recordstr, optional

The record type to report over channel access. This can be queried by way of caproto-get record.RTYP or caproto-get -d 38 --format "{response.metadata.value}" record

**kwargs :

Passed to the superclass, along with reported_record_type.

Methods

get_field(field)

Get a field by name.

read(data_type)

The top-level read method, with a specific requested data type.

update_fields(value)

This is a hook to update field instance data.

verify_value(value)

The top-level dbr-facing “write” method.