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

Specify DBE mask with PVA subscriptions #328

Open
mdavidsaver opened this issue Jan 30, 2025 · 0 comments
Open

Specify DBE mask with PVA subscriptions #328

mdavidsaver opened this issue Jan 30, 2025 · 0 comments

Comments

@mdavidsaver
Copy link
Contributor

One difference between CA and PVA protocols is that PVA does not have the same native conception of DBE, in particular there is no direct analogy of DBE_VALUE vs. DBE_ARCHIVE. With PVA, the pvRequest blob is intended for this sort of modifier.

QSRV2 looks for record._options.DBE in a monitor pvRequest, this can either by a string, following the parsing behavior of the old caChannel from pvAccessCPP, or an integer bit mask. In either case, VALUE, ARCHIVE, and ALARM can be specified.

https://github.com/epics-base/pvxs/blob/ff1d6510cbf84229f7018eacf4008ecd85dce565/ioc/singlesource.cpp#L108-L118

That said, I see that PVXS has no test coverage of this feature, and perhaps unsurprisingly it doesn't work (epics-base/pvxs#97).

So I intend this ticket as a placeholder for eventually getting DBE handling sorted out on both ends.

@kasemir fyi.

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

No branches or pull requests

1 participant