diff --git a/ohmpi/hardware_components/abstract_hardware_components.py b/ohmpi/hardware_components/abstract_hardware_components.py index b4de1fd7b0d8ac9a219dda41b1618ad6b38a1c6d..a3644e471c4896f452500d84f62e36802901a2bf 100644 --- a/ohmpi/hardware_components/abstract_hardware_components.py +++ b/ohmpi/hardware_components/abstract_hardware_components.py @@ -375,8 +375,8 @@ class TxAbstract(ABC): self.pwr.voltage = voltage self.exec_logger.debug(f'Voltage pulse of {polarity * self.pwr.voltage:.3f} V for {length:.3f} s') self.inject(polarity=polarity, injection_duration=length) + @property - @abstractmethod def pwr_state(self): return self._pwr_state diff --git a/ohmpi/hardware_components/mb_2024_0_2.py b/ohmpi/hardware_components/mb_2024_0_2.py index c4fda8cd622dd28511921d9d6ebb8e831d59d4d1..970067d3bb7af543d49ac6aa08316910dcc4d722 100644 --- a/ohmpi/hardware_components/mb_2024_0_2.py +++ b/ohmpi/hardware_components/mb_2024_0_2.py @@ -100,7 +100,6 @@ class Tx(Tx_mb_2023): self.pin6.value = False @property - def pwr_state(self): return self._pwr_state