From ba7876b7d36a6a7a3c5fe7ac11f822774c0f3fc4 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Mon, 11 Nov 2019 17:24:58 +0100 Subject: [PATCH] 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 Reviewed-by: Markus Zolliker --- secop_psi/ppms.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/secop_psi/ppms.py b/secop_psi/ppms.py index 256acd9..28acb48 100755 --- a/secop_psi/ppms.py +++ b/secop_psi/ppms.py @@ -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