qcodes/instrument_drivers/Keysight/keysight_34980a.py
def disconnect_all(self, slot: Optional[int] = None) -> None:
        """
        to open/disconnect all connections on select module

        Args:
            slot: slot number, between 1 and 8 (self._total_slot),
                    default value is None, which means all slots
        """
        cmd = 'ROUT:OPEN:ALL'
        if slot is None:
            self.write(cmd)
        else:
            vals.Ints(min_value=1, max_value=self._total_slot).validate(slot)
            self.write(f'ROUT:OPEN:ALL {slot}')

        to open/disconnect all connections on select module

        Args:
            slot: slot number, between 1 and 8 (self._total_slot),
                    default value is None, which means all slots
        
to open/disconnect all connections on select module
to open / disconnect all connections on select module
def disconnect_all(self, slot: Optional[int] = None) -> None:
        cmd = 'ROUT:OPEN:ALL'
        if slot is None:
            self.write(cmd)
        else:
            vals.Ints(min_value=1, max_value=self._total_slot).validate(slot)
            self.write(f'ROUT:OPEN:ALL {slot}')
def disconnect_all ( self , slot : Optional [ int ] = None ) -> None : cmd = 'ROUT:OPEN:ALL' if slot is None : self . write ( cmd ) else : vals . Ints ( min_value = 1 , max_value = self . _total_slot ) . validate ( slot ) self . write ( f'ROUT:OPEN:ALL {slot}' )
to open/disconnect all connections on select module
to open / disconnect all connections on select module
"""
        to open/disconnect all connections on select module

        Args:
            slot: slot number, between 1 and 8 (self._total_slot),
                    default value is None, which means all slots
        """
self
slot
Optional[int]
slot number, between 1 and 8 (self._total_slot),
default value is None, which means all slots
slot number between 1 and 8 ( self . _total_slot ) default value is None which means all slots