aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/multimeter/bk_5491.py
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/hardware/multimeter/bk_5491.py')
-rw-r--r--qolab/hardware/multimeter/bk_5491.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/qolab/hardware/multimeter/bk_5491.py b/qolab/hardware/multimeter/bk_5491.py
index 9186854..0b9d788 100644
--- a/qolab/hardware/multimeter/bk_5491.py
+++ b/qolab/hardware/multimeter/bk_5491.py
@@ -50,6 +50,7 @@ class BK_5491(Multimeter):
BK_5491 in not SCPI instrument, so we get some replies (prompts *>, =>, etc)
even if we just send a command not a query. So we have to work around this.
"""
+ self.resource.read_bytes( self.resource.bytes_in_buffer ) # clear read buffer
# print(f"dbg: {cmd_string=}")
self.write(cmd_string)
if expect_reply: