qcodes/instrument_drivers/tektronix/Keithley_6500.py
def _get_mode_param(self, parameter: str, parser: Callable[[str], T]) -> T:
        """ Reads the current mode of the multimeter and ask for the given parameter.

        Args:
            parameter: The asked parameter after getting the current mode.
            parser: A function that parses the input buffer read.

        Returns:
            Any: the parsed ask command. The parser determines the return data-type.
        """
        mode = _parse_output_string(self._mode_map[self.mode()])
        cmd = f'{mode}:{parameter}?'
        return parser(self.ask(cmd))
 Reads the current mode of the multimeter and ask for the given parameter.

        Args:
            parameter: The asked parameter after getting the current mode.
            parser: A function that parses the input buffer read.

        Returns:
            Any: the parsed ask command. The parser determines the return data-type.
        
Reads the current mode of the multimeter and ask for the given parameter.
Reads the current mode of the multimeter and ask for the given parameter .
def _get_mode_param(self, parameter: str, parser: Callable[[str], T]) -> T:
        mode = _parse_output_string(self._mode_map[self.mode()])
        cmd = f'{mode}:{parameter}?'
        return parser(self.ask(cmd))
def _get_mode_param ( self , parameter : str , parser : Callable [ [ str ] , T ] ) -> T : mode = _parse_output_string ( self . _mode_map [ self . mode ( ) ] ) cmd = f'{mode}:{parameter}?' return parser ( self . ask ( cmd ) )
Reads the current mode of the multimeter and ask for the given parameter.
Reads the current mode of the multimeter and ask for the given parameter .
""" Reads the current mode of the multimeter and ask for the given parameter.

        Args:
            parameter: The asked parameter after getting the current mode.
            parser: A function that parses the input buffer read.

        Returns:
            Any: the parsed ask command. The parser determines the return data-type.
        """
the parsed ask command. The parser determines the return data-type.
the parsed ask command . The parser determines the return data - type .
Any
self
parameter
str
The asked parameter after getting the current mode.
The asked parameter after getting the current mode .
parser
Callable[[str], T]
A function that parses the input buffer read.
A function that parses the input buffer read .