|
|
Experimental Physics and
| ||||||||||||||
|
|
Hi All -
I have created a support module that pushes all alarm state changes to an external message queue, but I am concerned about registering for so many database notifications.
I would be thankful if anyone could critique this practice, by having a look at my code and letting me know if this is a bad idea.
The project is here:
https://github.com/fermi-ad/epics-alarm-push
And particularly you will want to look at the function
init_after_db in this file:
https://github.com/fermi-ad/epics-alarm-push/blob/main/AlarmPushApp/src/AlarmPush.cpp
I was suspicious that calling dbChannelCreate on potentially hundreds of records might be a problem.
Also, if there is a smarter way to do this, please advise.
Thanks in advance!
Dave Bracey
Fermi National Accelerator Laboratory
| ||||||||||||||
| ANJ, 16 Jul 2026 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
· Distributions · Download · Documents · Links · Licensing · |