diff --git a/ohmpi/hardware_components/ohmpi_card_3_15.py b/ohmpi/hardware_components/ohmpi_card_3_15.py index e378bdc3f295157b1e108e6bfb612b7666174f76..9220faf4180028bbd0b37812ba04eddd0663cad6 100644 --- a/ohmpi/hardware_components/ohmpi_card_3_15.py +++ b/ohmpi/hardware_components/ohmpi_card_3_15.py @@ -206,6 +206,8 @@ class Rx(RxAbstract): super().__init__(**kwargs) if self.ctl is None: self.ctl = ctl_module.Ctl() + elif isinstance(self.ctl, dict): + self.ctl = ctl_module.Ctl(self.ctl) print(f'ctl: {self.ctl}, {type(self.ctl)}') # TODO: delete me! # ADS1115 for voltage measurement (MN) self._ads_voltage_address = 0x49