Commit ee00d300 authored by Projects's avatar Projects

pulsegen: Wait for operations to complete before checking errors

parent b82b9b4f
...@@ -184,6 +184,8 @@ class PulseGen: ...@@ -184,6 +184,8 @@ class PulseGen:
self.ser.write(b'BURS:PHAS 0\r\n') self.ser.write(b'BURS:PHAS 0\r\n')
self.ser.write(b'BURS:STAT ON\r\n') self.ser.write(b'BURS:STAT ON\r\n')
self.wait()
# check errors queue and printout error messages if any # check errors queue and printout error messages if any
error = False error = False
error_msg = '' error_msg = ''
......
Markdown is supported
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