Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PVAttribute with higher or configurable priority #491

Open
xiaoqiangwang opened this issue May 23, 2023 · 0 comments
Open

PVAttribute with higher or configurable priority #491

xiaoqiangwang opened this issue May 23, 2023 · 0 comments

Comments

@xiaoqiangwang
Copy link
Contributor

xiaoqiangwang commented May 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant