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:
zolliker 2019-11-11 17:24:58 +01:00
parent 5458911b67
commit ba7876b7d3

View File

@ -198,7 +198,7 @@ class PpmsMixin(Module):
def read_status(self): def read_status(self):
"""not very useful, as status is updated fast enough """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() self._main.read_data()
return self.status return self.status
@ -423,6 +423,13 @@ class Level(PpmsMixin, Readable):
channel = 'level' channel = 'level'
_settingnames = ['value', 'status'] _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): def get_settings(self, pname):
"""read settings """read settings