ekmmeters.py
def write(self, output):
        """Passthrough for pyserial Serial.write().

        Args:
            output (str): Block to write to port
        """
        view_str = output.encode('ascii', 'ignore')
        if (len(view_str) > 0):
            self.m_ser.write(view_str)
            self.m_ser.flush()
            self.m_ser.reset_input_buffer()
            time.sleep(self.m_force_wait)
        pass
def write(self, output):
        """Passthrough for pyserial Serial.write().

        Args:
            output (str): Block to write to port
        """
        view_str = output.encode('ascii', 'ignore')
        if (len(view_str) > 0):
            self.m_ser.write(view_str)
            self.m_ser.flush()
            self.m_ser.reset_input_buffer()
            time.sleep(self.m_force_wait)
        pass
def write ( self , output ) : view_str = output . encode ( 'ascii' , 'ignore' ) if ( len ( view_str ) > 0 ) : self . m_ser . write ( view_str ) self . m_ser . flush ( ) self . m_ser . reset_input_buffer ( ) time . sleep ( self . m_force_wait ) pass
Passthrough for pyserial Serial.write().

        Args:
            output (str): Block to write to port
Passthrough for pyserial Serial . write () .