archiver-appliance / epicsarchiverap

This is an implementation of an archiver for EPICS control systems that aims to archive millions of PVs.
Other
39 stars 39 forks source link

PV filters #192

Closed jacomago closed 4 months ago

jacomago commented 10 months ago

From tech talk: https://epics.anl.gov/tech-talk/2023/msg01750.php

I was testing out the EPICS Archiver Appliance, and I noticed that it does not accept channel filtered queries for archiving.

Here at LANSCE, we are very interested in archiving data on channels with filters similar to these (https://epics.anl.gov/base/R3-15/1-docs/filters.html) applied to them.

Just allowing the additional characters results in an error in the arch.log:

[PVNameDispatcherPVNameEvents 2] ERROR org.epics.archiverappliance.engine.pv.EPICS_V3_PV - The meta get listener was not successful for EPICS_V3_PV TBGR001E01.NAME$

[Engine scheduler for misc tasks.] ERROR org.epics.archiverappliance.engine.metadata.MetaGet - Cannot determine DBR type for pv TBGR001E01.{'dbnd':{'abs':1}}

I’m also not sure how to support filters that use a comma, as the archiver treats these as separate channels.

Does anyone have a recommendation for how to go about fixing this, and what else might need to be modified?

jacomago commented 10 months ago

I discovered we would also like this feature at ESS. So I will add it to my backlog.