qcodes/instrument_drivers/tektronix/Keithley_3706A.py
def close_channel(self, val: str) -> None:
        """
        Closes the channels and backplane relays.

        Args:
            val: A string representing the channels, channel ranges,
                backplane relays to be queried.
        """
        slots = ['allslots', *self._get_slot_names()]
        forbidden_channels = self.get_forbidden_channels("allslots")
        if val in slots:
            raise InvalidValue("Slots cannot be closed all together.")
        if not self._validator(val):
            raise InvalidValue(f'{val} is not a valid specifier. '
                               'The specifier should be channels or channel '
                               'ranges and associated backplane relays.')
        if val in forbidden_channels.split(','):
            warnings.warn('You are attempting to close channels that are '
                          'forbidden to close.', UserWarning, 2)

        self._warn_on_disengaged_interlocks(val)

        self.write(f"channel.close('{val}')")

        Closes the channels and backplane relays.

        Args:
            val: A string representing the channels, channel ranges,
                backplane relays to be queried.
        
Closes the channels and backplane relays.
Closes the channels and backplane relays .
def close_channel(self, val: str) -> None:
        slots = ['allslots', *self._get_slot_names()]
        forbidden_channels = self.get_forbidden_channels("allslots")
        if val in slots:
            raise InvalidValue("Slots cannot be closed all together.")
        if not self._validator(val):
            raise InvalidValue(f'{val} is not a valid specifier. '
                               'The specifier should be channels or channel '
                               'ranges and associated backplane relays.')
        if val in forbidden_channels.split(','):
            warnings.warn('You are attempting to close channels that are '
                          'forbidden to close.', UserWarning, 2)
        self._warn_on_disengaged_interlocks(val)
        self.write(f"channel.close('{val}')")
def close_channel ( self , val : str ) -> None : slots = [ 'allslots' , * self . _get_slot_names ( ) ] forbidden_channels = self . get_forbidden_channels ( "allslots" ) if val in slots : raise InvalidValue ( "Slots cannot be closed all together." ) if not self . _validator ( val ) : raise InvalidValue ( f'{val} is not a valid specifier. ' 'The specifier should be channels or channel ' 'ranges and associated backplane relays.' ) if val in forbidden_channels . split ( ',' ) : warnings . warn ( 'You are attempting to close channels that are ' 'forbidden to close.' , UserWarning , 2 ) self . _warn_on_disengaged_interlocks ( val ) self . write ( f"channel.close('{val}')" )
Closes the channels and backplane relays.
Closes the channels and backplane relays .
"""
        Closes the channels and backplane relays.

        Args:
            val: A string representing the channels, channel ranges,
                backplane relays to be queried.
        """
self
val
str
A string representing the channels, channel ranges,
backplane relays to be queried.
A string representing the channels channel ranges backplane relays to be queried .