Skip to content

Handling of PVAccess meta fields #492

@jacomago

Description

@jacomago

Discussing with @mdavidsaver I found out a few things about the pva protocol.

At the moment I handle the field value in EPICS_V4_PV by trying to map to the CA behaviour. However I'm thinking we could do something different considering we have the only receiver updates on changes part of the protocol.

Currently we try to track the diff from the current to the previous structure, and map to the ca field names.

  • Since we get the bitset, we could just ignore the metafields part of the policy file for pvAccess and store every update the the subfields.
  • Or, the protocol supports subscribing in a more complicated way to only the fields that you are interested in, and again we just store every up date.

I think the storing everything every day is a good feature to keep, but we should make it configurable and set a default of the STS periodicity (so for instance we should have the full metadata every pb file.)

One thing is that we don't store when the timestamp doesn't change, I think its reasonable to keep this behavior. But it does mean if for instance an alarm is set we would lose this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions