qcodes/instrument_drivers/Keysight/private/error_handling.py
def flush_error_queue(self, verbose: bool=True) -> None:
        """
        Clear the instrument error queue, and prints it.

        Args:
            verbose: If true, the error messages are printed.
                Default: True.
        """

        self.log.debug('Flushing error queue...')

        err_code, err_message = self.error()
        self.log.debug(f'    {err_code}, {err_message}')
        if verbose:
            print(err_code, err_message)

        while err_code != 0:
            err_code, err_message = self.error()
            self.log.debug(f'    {err_code}, {err_message}')
            if verbose:
                print(err_code, err_message)

        self.log.debug('...flushing complete')

        Clear the instrument error queue, and prints it.

        Args:
            verbose: If true, the error messages are printed.
                Default: True.
        
Clear the instrument error queue, and prints it.
Clear the instrument error queue and prints it .
def flush_error_queue(self, verbose: bool=True) -> None:
        self.log.debug('Flushing error queue...')
        err_code, err_message = self.error()
        self.log.debug(f'    {err_code}, {err_message}')
        if verbose:
            print(err_code, err_message)
        while err_code != 0:
            err_code, err_message = self.error()
            self.log.debug(f'    {err_code}, {err_message}')
            if verbose:
                print(err_code, err_message)
        self.log.debug('...flushing complete')
def flush_error_queue ( self , verbose : bool = True ) -> None : self . log . debug ( 'Flushing error queue...' ) err_code , err_message = self . error ( ) self . log . debug ( f'    {err_code}, {err_message}' ) if verbose : print ( err_code , err_message ) while err_code != 0 : err_code , err_message = self . error ( ) self . log . debug ( f'    {err_code}, {err_message}' ) if verbose : print ( err_code , err_message ) self . log . debug ( '...flushing complete' )
Clear the instrument error queue, and prints it.
Clear the instrument error queue and prints it .
"""
        Clear the instrument error queue, and prints it.

        Args:
            verbose: If true, the error messages are printed.
                Default: True.
        """
self
verbose
bool
If true, the error messages are printed.
Default: True.
If true the error messages are printed . Default : True .