diff options
Diffstat (limited to 'qolab/hardware/multimeter')
-rw-r--r-- | qolab/hardware/multimeter/bk_5491.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/qolab/hardware/multimeter/bk_5491.py b/qolab/hardware/multimeter/bk_5491.py index 270d7c8..05e0a05 100644 --- a/qolab/hardware/multimeter/bk_5491.py +++ b/qolab/hardware/multimeter/bk_5491.py @@ -79,13 +79,19 @@ class BK_5491(Multimeter): prompt = reply if prompt[0] == "@": if Nattemts >= 2: - # print('dbg: numeric reading is not available yet, attempt one more time') + """ + print( + "dbg: numeric reading is not available yet" + + ", attempt one more time" + ) + """ time.sleep(self.switchTime) return self._readwrite( cmd_string, expect_reply=expect_reply, Nattemts=Nattemts - 1 ) print( - f'Error: we ask {cmd_string=} and got prompt "{reply}" instead of result' + f"Error: we ask {cmd_string=}" + + f' and got prompt "{reply}" instead of result' # noqa: W503 ) return None else: |