mirror of
https://github.com/nqrduck/nqrduck-autotm.git
synced 2024-11-09 11:40:02 +00:00
Removed confirmation of commands for broadband measurements. This causes bugs atm.
This commit is contained in:
parent
2d7fbf3479
commit
c1bb983d0b
1 changed files with 12 additions and 14 deletions
|
@ -51,7 +51,6 @@ class AutoTMController(ModuleController):
|
||||||
elif self.module.model.LUT.TYPE == "Electrical":
|
elif self.module.model.LUT.TYPE == "Electrical":
|
||||||
tuning_voltage, matching_voltage = self.module.model.LUT.get_voltages(frequency)
|
tuning_voltage, matching_voltage = self.module.model.LUT.get_voltages(frequency)
|
||||||
confirmation = self.set_voltages(str(tuning_voltage), str(matching_voltage))
|
confirmation = self.set_voltages(str(tuning_voltage), str(matching_voltage))
|
||||||
if confirmation:
|
|
||||||
# We need to change the signal pathway to preamp to measure the reflection
|
# We need to change the signal pathway to preamp to measure the reflection
|
||||||
self.switch_to_atm()
|
self.switch_to_atm()
|
||||||
reflection = self.read_reflection(frequency)
|
reflection = self.read_reflection(frequency)
|
||||||
|
@ -595,7 +594,6 @@ class AutoTMController(ModuleController):
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
|
|
||||||
confirmation = self.send_command(command)
|
confirmation = self.send_command(command)
|
||||||
if confirmation:
|
|
||||||
while matching_voltage != self.module.model.matching_voltage and tuning_voltage != self.module.model.tuning_voltage:
|
while matching_voltage != self.module.model.matching_voltage and tuning_voltage != self.module.model.tuning_voltage:
|
||||||
QApplication.processEvents()
|
QApplication.processEvents()
|
||||||
# Check for timeout
|
# Check for timeout
|
||||||
|
|
Loading…
Reference in a new issue