qcodes/instrument_drivers/Keysight/keysightb1500/KeysightB1500_base.py
def write(self, cmd: str) -> None:
        """
        Extend write method from the super to ask for error message each
        time a write command is called.
        """
        super().write(cmd)
        error_message = self.error_message()
        if error_message != '+0,"No Error."':
            raise RuntimeError(f"While setting this parameter received "
                               f"error: {error_message}")

        Extend write method from the super to ask for error message each
        time a write command is called.
        
Extend write method from the super to ask for error message each
time a write command is called.
Extend write method from the super to ask for error message each time a write command is called .
def write(self, cmd: str) -> None:
        super().write(cmd)
        error_message = self.error_message()
        if error_message != '+0,"No Error."':
            raise RuntimeError(f"While setting this parameter received "
                               f"error: {error_message}")
def write ( self , cmd : str ) -> None : super ( ) . write ( cmd ) error_message = self . error_message ( ) if error_message != '+0,"No Error."' : raise RuntimeError ( f"While setting this parameter received " f"error: {error_message}" )
Extend write method from the super to ask for error message each
time a write command is called.
Extend write method from the super to ask for error message each time a write command is called .
"""
        Extend write method from the super to ask for error message each
        time a write command is called.
        """
self
cmd
str