Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

9.3 backport to fix #330 #681

Merged
merged 8 commits into from
Mar 18, 2020

Conversation

bourtemb
Copy link
Member

No description provided.

Add macros to support logging from outside of device code,
but where a pointer to device implementation is available.
If attribute was in ALARM state (e.g. due to max_value being exceeded)
and reading started to fail, the attribute should not impact Device
state any more (Device stays ON). If later reading starts to work again,
the Device shall also switch to ALARM state.
If no value was provided for an attribute during read (e.g. exception
was thrown), set attribute's quality to invalid to ensure that alarm
condition is not evaluated (it is not possible as the value is missing).
@bourtemb
Copy link
Member Author

@mliszcz & @t-b , do you think you could review this PR so we could have this fix (if OK of course) in 9.3.4 release?

Copy link
Collaborator

@mliszcz mliszcz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bourtemb I'm not sure if I'm the right person to review this PR as I authored the original one. Anyway, from my POV the is nothing that could prevent this correction from being backported to 9.3 branch, as there is just one new, non-virtual, private method.

Still, thanks for taking care of the backport!

@t-b t-b merged commit ec8d6e7 into tango-controls:9.3-backports Mar 18, 2020
bourtemb added a commit to bourtemb/cppTango that referenced this pull request Mar 31, 2020
- Add logs for tango-controls#681 and tango-controls#690
- Fix some broken links
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants