diff --git a/Python_script/VNA.py b/Python_script/VNA.py index dafa59eae3471db2bd469338631ea678723a0d43..35d240c92301ac49e6d56a4d634bcdc6cef3fa82 100755 --- a/Python_script/VNA.py +++ b/Python_script/VNA.py @@ -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): diff --git a/Python_script/VNA_dummy.py b/Python_script/VNA_dummy.py index 69260881b8b9cf1149e6f02f12ea365906f370a3..ab2e3178e2a0f5816267aac5bcd80247a73cd7d1 100644 --- a/Python_script/VNA_dummy.py +++ b/Python_script/VNA_dummy.py @@ -153,3 +153,6 @@ class VnaDummy: def do_single_sweep(self): pass + + def reset_status(self): + pass diff --git a/Python_script/climate_chamber.py b/Python_script/climate_chamber.py index 1a2eb8dca9d91e489e34a7e3c4b45c3753cdf69b..3512e434d410d6d710a324dd43cee781b0f9db64 100755 --- a/Python_script/climate_chamber.py +++ b/Python_script/climate_chamber.py @@ -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) diff --git a/Python_script/climate_chamber_dummy.py b/Python_script/climate_chamber_dummy.py index 3b62f3531224aa71e550d525263cb45ad58d9abc..e98f919fecc733297484e86603112b1c1201d2a9 100644 --- a/Python_script/climate_chamber_dummy.py +++ b/Python_script/climate_chamber_dummy.py @@ -161,3 +161,7 @@ class ClimateChamberDummy: def __del__(self): self.close() + + def get_heater_percentage(self): + return 0.0, 0.0 +