UT330BUI/model/UT330.py
def _write_buffer(self):

        """Writes the command string to the buffer"""

        bytes_written = self._ut330.write(bytearray(self._buffer))

        if bytes_written != len(self._buffer):
            raise ValueError('Error! _write_buffer: not all command bytes '
                             'written')
Writes the command string to the buffer
Writes the command string to the buffer
Writes the command string to the buffer
def _write_buffer(self):
        bytes_written = self._ut330.write(bytearray(self._buffer))
        if bytes_written != len(self._buffer):
            raise ValueError('Error! _write_buffer: not all command bytes '
                             'written')
def _write_buffer ( self ) : bytes_written = self . _ut330 . write ( bytearray ( self . _buffer ) ) if bytes_written != len ( self . _buffer ) : raise ValueError ( 'Error! _write_buffer: not all command bytes ' 'written' )
Writes the command string to the buffer
Writes the command string to the buffer
"""Writes the command string to the buffer"""
self