def flush(self, mask):
        self.visalib.flush(self.session, mask)
Manually clears the specified buffers and cause the buffer data
dataset/ETHPy150Open hgrecco/pyvisa/pyvisa/resources/serial.py/SerialInstrument.flush