diff options
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/hardware/scpi.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qolab/hardware/scpi.py b/qolab/hardware/scpi.py index 71ab556..a9c6061 100644 --- a/qolab/hardware/scpi.py +++ b/qolab/hardware/scpi.py @@ -47,16 +47,16 @@ class SCPIinstr: self.write("*ESE") def query_event_status_enable(self): - self.query("*ESE?") + return self.query("*ESE?") def query_event_status_register(self): - self.query("*ESR?") + return self.query("*ESR?") def set_wait_until_finished(self): - self.query("*OPC") + self.write("*OPC") def wait_until_finished(self): - self.query("*OPC?") + return self.query("*OPC?") def reset(self): self.write("*RST") @@ -65,13 +65,13 @@ class SCPIinstr: self.write("*SRE") def query_service_request_enable(self): - self.query("*SRE?") + return self.query("*SRE?") def query_status_byte(self): - self.query("*STB?") + return self.query("*STB?") def self_test_result(self): - self.query("*TST?") + return self.query("*TST?") def wait(self): self.write("*WAI") |