Commit c59cc9b0 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Initialize hpib upon launching thread

parent c5d3e7f5
......@@ -18,6 +18,7 @@ class CamrasHpibDevice(object):
if not command_thread:
serial_port = serial.Serial("/dev/ttyUSB0")
command_thread = serial.threaded.ReaderThread(serial_port, hpib.GPIBProtocol)
def frequency(self):
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