Skip to main content

Module record_fields

Module record_fields 

Source
Expand description

IOC/QSRV-style record field access.

Serves <pvname>.<FIELD> (and the obsolete <pvname>.<FIELD>$ long-string form) as independent read-only channels, mimicking IOC field-access semantics so tools such as the EPICS Archiver Appliance can fetch record metadata (RTYP, NAME, DESC, dbCommon fields, …).

Ported from the p4pillon RecordProvider / DynamicRecordFields design (branch 50-access-to-ioc-fields).

Structs§

FieldRef
A parsed <base>.<FIELD>[$] channel-name reference.
RecordFieldSource
A read-only Source serving <pvname>.<FIELD> channels derived from the records in a SimplePvStore.

Enums§

FieldKind
Scalar type of a record field, per dbCommon.dbd semantics.

Functions§

dbcommon_default
Look up the dbCommon default for field, if it is a common field.
field_value
Resolve the value of field for record.
mdel_of
The record’s MDEL monitor deadband (0.0 when absent or unparsable).
parse_field_ref
Split a channel name into a FieldRef on its last ..
payload_for
Build the wire payload for a resolved field reference.
record_type_name
The .db record-type name for a RecordType (what RTYP reports).