Comments (6)
Try passing a unique alarm_group='xyz'
to each of the PVs
from caproto.
Just to confirm, you commented out the other two stats and the behavior went away?
My concern is that because you are setting the value the alarm state I wonder if we are not correctly de-bouncing something and the 2 extra messages are from that (not the other two PVs)?
from caproto.
from caproto.
or filtering your monitor to value only (no alarm updates).
from caproto.
I think it's almost certainly as @tacaswell indicates - the alarm group is causing the other two to send updates.
caproto's handling of alarm updates could definitely be improved here. Something like only causing the linked alarm group to publish if the status/severity differ from the current setting:
Lines 708 to 709 in 57e0c56
from caproto.
Indeed, taking out the status
kwarg from the write calls stops the duplication. Seems to be it.
from caproto.
Related Issues (20)
- How to get precision, units, doc and other attributes from PVproperty with a threading client? HOT 1
- autosave: add option for permissions on autosave JSON files
- Support raw timestamps in ChannelData (no float conversion for beam pulse ID/fiducials, etc)
- Remove pvAccess support
- Sync client: interference from non-PVs on the network HOT 1
- Decorating method with pvproperty fails if the method provides docstring HOT 4
- Document meaning of "High load. Batched 2 commands" and warn only if above a threshold HOT 2
- Writing a motor controller IOC... any tips/guidelines? HOT 6
- caproto without wifi\ethernet HOT 1
- BUG: Using lower-level PVSpec with kwarg `read_only=True` results in a PV that is not read only. HOT 1
- Run multiple, soft and caproto, IOCs on same host HOT 4
- Looking for maintainers / developers HOT 13
- Error [WinError 10054] HOT 12
- Subscription backlog memory usage too high for PVs storing large arrays HOT 2
- Writing a C++ CA client that communicates with caproto-based server HOT 2
- High load. Dropped 4 responses. HOT 13
- Threading client sometimes fails to reconnect a disconnected PV
- Python 3.10: asyncio `loop` parameter was removed HOT 3
- Review performance testing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caproto.