Skip to main content

Module group

Module group 

Source
Expand description

Group PV configuration: parse JSON definitions that compose multiple individual PVs into a single structured PVA channel.

Corresponds to the C++ QSRV group info-tag / JSON config format. A group PV is a composite PVA channel whose top-level fields each map to a different backing PV (“member”).

§JSON format

{
    "GRP:name": {
        "+id": "epics:nt/NTTable:1.0",
        "+atomic": true,
        "fieldA": {
            "+channel": "RECORD:A",
            "+type": "scalar",
            "+trigger": "*",
            "+putorder": 0
        },
        "fieldB": { "+channel": "RECORD:B" }
    }
}

Structs§

GroupConfigError
GroupMember
Definition of one field inside a group PV.
GroupPvDef
A group PV definition: a structured channel composed of several member PVs.
GroupPvStore
A PvStore wrapper that adds group-PV support on top of an inner store.

Enums§

FieldMapping
How a member PV’s value is mapped into the group structure.
TriggerDef
When a member’s value changes, which group fields should be re-published.

Functions§

merge_group_defs
Merge newly-parsed group defs into an existing map (accumulates members).
parse_group_config
Parse a JSON string describing one or more group PVs.
parse_info_group
Parse a record’s info(Q:group, ...) JSON tag.