From 1938bc1868b621877dbca130600f884a702617cd Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Thu, 19 Oct 2023 17:20:14 +0200 Subject: [PATCH] Updates compute_tx --- ohmpi/hardware_system.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index 19645f09..4c817bac 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -449,9 +449,9 @@ class OhmPiHardware: if self.tx.pwr.voltage_adjustable: self.tx.voltage = vab_list[k] vab_opt = vab_list[k] - print(f'Selected Vab: {vab_opt:.2f}') - if switch_pwr_off: - self.tx.pwr.pwr_state = 'off' + # print(f'Selected Vab: {vab_opt:.2f}') + # if switch_pwr_off: + # self.tx.pwr.pwr_state = 'off' else: vab_opt = tx_volt # if strategy == 'vmax': -- GitLab