Commit 283e9ba7 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Assert queue empty before asking anything

parent 591e46e7
......@@ -51,6 +51,8 @@ class GPIBProtocol(serial.threaded.LineReader):
RuntimeError: if no response was received to a query.
with self.lock:
if address:
self.write_line("++addr {:d}".format(address))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment