epics-base / pva2pva

PV Access gateway/proxy and EPICS Process Database integration
https://epics-base.github.io/pva2pva/
Other
4 stars 13 forks source link

Table of aggregation record #39

Closed brunoseivam closed 3 years ago

brunoseivam commented 3 years ago

This is a first stab at the tableAgg record (not married to this name).

It doesn't support constant links, I couldn't make them work for some reason. I tried to dbLoadLink / dbLoadLinkArray at init_record time, like svectorin does, but without trying to write to the column values since at the end of init_record the underlying table is not ready yet. However, dbGetLinkDBFtype kept returning -1 for constant links defined as {const:[....]}...

It is not exactly a show stopper since one can still have a svectorin hold a constant value an pass that in to tableAgg. I believe statBin also doesn't support constant links, if I understood it correctly.

There's still documentation to be written.

brunoseivam commented 3 years ago

Sorry, wrong target repo, please ignore and delete this