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

Issue 13 Pipe Events #104

Merged
merged 7 commits into from
May 31, 2017
Merged

Issue 13 Pipe Events #104

merged 7 commits into from
May 31, 2017

Conversation

grm84
Copy link
Collaborator

@grm84 grm84 commented Apr 29, 2017

No description provided.

.gitignore Outdated
# Eclipse users
.project
.pydevproject
.settings/
Copy link
Contributor

Choose a reason for hiding this comment

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

editor related filters should be in your private .git/info/exclude


*DATA_READY_EVENT - New in PyTango 7.0.0*
*INTERFACE_CHANGE_EVENT - New in PyTango 9.2.2*
Copy link
Contributor

Choose a reason for hiding this comment

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

This pull request should not concern INTERFACE_CHANGE_EVENT

@@ -1183,6 +1185,10 @@ def __DeviceProxy__get_events(self, event_id, callback=None, extract_as=ExtractA
return self.__get_attr_conf_events(event_id, extract_as)
elif event_type in (EventType.DATA_READY_EVENT,):
return self.__get_data_ready_events(event_id, extract_as)
elif event_type in (EventType.INTERFACE_CHANGE_EVENT,):
raise NotImplementedError("event_type not implemented event_type: " + str(event_type))
Copy link
Contributor

Choose a reason for hiding this comment

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

This pull request should not concern INTERFACE_CHANGE_EVENT

tango/utils.py Outdated
@@ -1415,6 +1415,9 @@ def _get_value(self, evt):
return "label='%s'; unit='%s'" % (cfg.label, cfg.unit)
elif isinstance(evt, DataReadyEventData):
return ""
elif isinstance(evt, PipeEventData):
print ("utils::_get_value()")
Copy link
Contributor

Choose a reason for hiding this comment

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

I suspect this is a debug print that should be removed

tango/utils.py Outdated
@@ -1415,6 +1415,9 @@ def _get_value(self, evt):
return "label='%s'; unit='%s'" % (cfg.label, cfg.unit)
elif isinstance(evt, DataReadyEventData):
return ""
elif isinstance(evt, PipeEventData):
print ("utils::_get_value()")
return
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn´t it return the pipe value?

@grm84 grm84 requested a review from jairomoldes May 16, 2017 13:49
@tiagocoutinho tiagocoutinho merged commit a4dc9c5 into tango-controls:develop May 31, 2017
@grm84 grm84 deleted the issue-13 branch July 4, 2017 09:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants