bug fix in secop_psi.ppms.Level
Level.update_value_status must be a no-op Change-Id: I621f790f7248d21cdc1efedbac42e78b7ff0c889 Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/21686 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
parent
5458911b67
commit
ba7876b7d3
@ -198,7 +198,7 @@ class PpmsMixin(Module):
|
||||
def read_status(self):
|
||||
"""not very useful, as status is updated fast enough
|
||||
|
||||
note: this will update status of all modules, and this module twice
|
||||
note: this will update the status of all modules, and this module twice
|
||||
"""
|
||||
self._main.read_data()
|
||||
return self.status
|
||||
@ -423,6 +423,13 @@ class Level(PpmsMixin, Readable):
|
||||
channel = 'level'
|
||||
_settingnames = ['value', 'status']
|
||||
|
||||
def update_value_status(self, value, packed_status):
|
||||
"""must be a no-op
|
||||
|
||||
when called from Main.read_data, value is always None
|
||||
value and status is polled via settings
|
||||
"""
|
||||
|
||||
def get_settings(self, pname):
|
||||
"""read settings
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user