qcodes/instrument_drivers/Keysight/keysight_34980a.py
def scan_slots(self) -> None:
        """
        Scan the occupied slots and make an object for each switch matrix
        module installed
        """
        for slot in self.system_slots_info.keys():
            model_string = self.system_slots_info[slot]['model']
            for model in KEYSIGHT_MODELS:
                if model in model_string:
                    sub_module_name = f'slot_{slot}_{model}'
                    sub_module = KEYSIGHT_MODELS[model](self,
                                                        sub_module_name,
                                                        slot)
                    self.module[slot] = sub_module
                    self.add_submodule(sub_module_name, sub_module)
                    break
            if self.module[slot] is None:
                sub_module_name = f'slot_{slot}_{model_string}_no_driver'
                sub_module_no_driver = KeysightSubModule(self,
                                                         sub_module_name,
                                                         slot)
                self.module[slot] = sub_module_no_driver
                self.add_submodule(sub_module_name, sub_module_no_driver)
                logging.warning(f'can not find driver for {model_string}'
                                f'in slot {slot}')

        Scan the occupied slots and make an object for each switch matrix
        module installed
        
Scan the occupied slots and make an object for each switch matrix
module installed
Scan the occupied slots and make an object for each switch matrix module installed
def scan_slots(self) -> None:
        for slot in self.system_slots_info.keys():
            model_string = self.system_slots_info[slot]['model']
            for model in KEYSIGHT_MODELS:
                if model in model_string:
                    sub_module_name = f'slot_{slot}_{model}'
                    sub_module = KEYSIGHT_MODELS[model](self,
                                                        sub_module_name,
                                                        slot)
                    self.module[slot] = sub_module
                    self.add_submodule(sub_module_name, sub_module)
                    break
            if self.module[slot] is None:
                sub_module_name = f'slot_{slot}_{model_string}_no_driver'
                sub_module_no_driver = KeysightSubModule(self,
                                                         sub_module_name,
                                                         slot)
                self.module[slot] = sub_module_no_driver
                self.add_submodule(sub_module_name, sub_module_no_driver)
                logging.warning(f'can not find driver for {model_string}'
                                f'in slot {slot}')
def scan_slots ( self ) -> None : for slot in self . system_slots_info . keys ( ) : model_string = self . system_slots_info [ slot ] [ 'model' ] for model in KEYSIGHT_MODELS : if model in model_string : sub_module_name = f'slot_{slot}_{model}' sub_module = KEYSIGHT_MODELS [ model ] ( self , sub_module_name , slot ) self . module [ slot ] = sub_module self . add_submodule ( sub_module_name , sub_module ) break if self . module [ slot ] is None : sub_module_name = f'slot_{slot}_{model_string}_no_driver' sub_module_no_driver = KeysightSubModule ( self , sub_module_name , slot ) self . module [ slot ] = sub_module_no_driver self . add_submodule ( sub_module_name , sub_module_no_driver ) logging . warning ( f'can not find driver for {model_string}' f'in slot {slot}' )
Scan the occupied slots and make an object for each switch matrix
module installed
Scan the occupied slots and make an object for each switch matrix module installed
"""
        Scan the occupied slots and make an object for each switch matrix
        module installed
        """
self