mirror of
https://github.com/nqrduck/nqrduck-autotm.git
synced 2024-12-30 11:28:07 +00:00
Added voltage sweep signal.
This commit is contained in:
parent
a6ce0a7588
commit
3046b6c7d5
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,7 @@ class AutoTMController(ModuleController):
|
||||||
self.module.model.serial_data_received.connect(self.process_frequency_sweep_data)
|
self.module.model.serial_data_received.connect(self.process_frequency_sweep_data)
|
||||||
self.module.model.serial_data_received.connect(self.process_measurement_data)
|
self.module.model.serial_data_received.connect(self.process_measurement_data)
|
||||||
self.module.model.serial_data_received.connect(self.process_calibration_data)
|
self.module.model.serial_data_received.connect(self.process_calibration_data)
|
||||||
|
self.module.model.serial_data_received.connect(self.process_voltage_sweep_result)
|
||||||
self.module.model.serial_data_received.connect(self.print_info)
|
self.module.model.serial_data_received.connect(self.print_info)
|
||||||
self.module.model.serial_data_received.connect(self.read_position_data)
|
self.module.model.serial_data_received.connect(self.read_position_data)
|
||||||
self.module.model.serial_data_received.connect(self.process_reflection_data)
|
self.module.model.serial_data_received.connect(self.process_reflection_data)
|
||||||
|
@ -922,6 +923,8 @@ class AutoTMController(ModuleController):
|
||||||
stepper = self.module.model.tuning_stepper
|
stepper = self.module.model.tuning_stepper
|
||||||
new_magnitude = 1e6 # Big
|
new_magnitude = 1e6 # Big
|
||||||
|
|
||||||
|
# Probably also start a frequency sweep (?)
|
||||||
|
|
||||||
while new_magnitude > last_magnitude:
|
while new_magnitude > last_magnitude:
|
||||||
# We move the stepper
|
# We move the stepper
|
||||||
last_magnitude = new_magnitude
|
last_magnitude = new_magnitude
|
||||||
|
|
Loading…
Reference in a new issue