Skip to content

Handling PV-Name prefixes for archive data sources #1655

@MichaelRitzert

Description

@MichaelRitzert

I recently switched from the RDB archiver to the archiver appliance, and I find that my databrowser plots are no longer working. The obvious reason is that in the old setup, I had the PVs stored as "ca://name", while the appliance only likes "name". After the switch, this means that I cannot have a plot that can read data from both sources transparently.

I don't really like the situation with the appliance, because our OPIs pass around macros containing the common "ca://${USER}:etc" part of PV names, so I cannot easily create a parametrized plt file – the ca:// would always be there. Just omitting the prefix from the OPIs and relying on the default (or using ca://${name} in every widget) doesn't look to attractive to me.

But also for the RDB archiver, it can be confusing for the users to not find a PV because they forgot the ca://.

Would it be possible to extend the logic of the archive reader(s) to retry without the PV name prefix if a channel is not found?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions