Skip to content
Snippets Groups Projects
Commit 0d9efab4 authored by Martin Killenberg's avatar Martin Killenberg
Browse files

fix: adapt climate chamber dummy and VNA dummy

parent ce9d2d78
No related branches found
No related tags found
1 merge request!4chore: code cleanup
......@@ -230,10 +230,8 @@ class Vna:
#wait until finished
self.vna.query('*OPC?')
# method to reset status regsisters and queues of VNA, Michael
# reset status registers and queues of the VNA
def reset_status(self):
# reset status byte, standard event register, clear output buffer and error buffer, Michael
self.vna.write('*CLS')
def close(self):
......
......@@ -153,3 +153,6 @@ class VnaDummy:
def do_single_sweep(self):
pass
def reset_status(self):
pass
......@@ -248,7 +248,6 @@ class ClimateChamber:
time.sleep(10)
break
# request percentage temperature heater, humidity heater from climate chamber, Michael
def get_heater_percentage(self):
response = self.chamber.query("%?", delay=MONITOR_COMMAND_DELAY)
......
......@@ -161,3 +161,7 @@ class ClimateChamberDummy:
def __del__(self):
self.close()
def get_heater_percentage(self):
return 0.0, 0.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment