diff --git a/ohmpi/hardware_components/mb_2023_0_X.py b/ohmpi/hardware_components/mb_2023_0_X.py index 4fe1c0b62d9a524b45d35f12d4849191ed997a4c..7055be06757cb000ee28eff998935268800fa28d 100644 --- a/ohmpi/hardware_components/mb_2023_0_X.py +++ b/ohmpi/hardware_components/mb_2023_0_X.py @@ -105,7 +105,7 @@ class Tx(TxAbstract): self.pin0.direction = Direction.OUTPUT self.pin1 = self.mcp_board.get_pin(1) self.pin1.direction = Direction.OUTPUT - self.polarity = 0 + #self.polarity = 0 self.gain = 2 / 3 if not subclass_init: self.exec_logger.event(f'{self.model}\ttx_init\tend\t{datetime.datetime.utcnow()}') diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index 634e3b8c9db80efd1df1958952ed860a2081a0a8..b26dbf99322f4078f3d007722c98771a0c1fc39f 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -137,6 +137,7 @@ class OhmPiHardware: if isinstance(self.tx, dict): self.tx = tx_module.Tx(**self.tx) self.tx.pwr = self.pwr + self.tx.polarity = 0 self.tx.pwr._current_max = current_max # Initialize Muxes