areaDetector/ADCore

PVAttribute with higher or configurable priority

xiaoqiangwang opened this issue · 0 comments

Problem

I have a detector triggered at 100Hz, and certain PVs update at the same frequency and are configured as PVAttribute. Often I observed duplicate values are recorded. I could confirm that the PVs themselves did get update at 100Hz.

The current channel priority for PVAttribute is fixed to 10.

SEVCHK(ca_create_channel(pSource, connectCallbackC, this, 10 ,&this->chanId),

After I change the priority to 80 (CA_PRIORITY_DB_LINKS), the duplicates drop significantly.

Ideas

I wonder whether the priority setting of PVAttribute can be set higher or even made configurable. I implemented this idea here , master...xiaoqiangwang:ADCore:PVAttribute_priority