PVAttribute with higher or configurable priority
xiaoqiangwang opened this issue · 0 comments
xiaoqiangwang commented
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.
ADCore/ADApp/ADSrc/PVAttribute.cpp
Line 66 in 49f9cce
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