pyserial: Unexpected Local Echo

Steve Holden steve at holdenweb.com
Mon Jan 11 10:43:54 EST 2010


Steven Woody wrote:
> Hi,
> 
> I am using pyserial.  But I always get the local echo after I write
> some characters onto serial port and I find no way to disable this
> behavior. When I say 'local echo', I mean the next read operation will
> get characters that was just write to the same port.
> 
> I run my program on cygwin (pyserial was also built on the system from
> source code) and the serial port i am using is a USB adapter that
> simulates a port (COM4 on my XP) because my laptop don't have a real
> serial port.  But I checked my COM4 settings, there is no any think
> like 'local echo'.
> 
> 
> Thanks in advance.
> 
It sounds to me like the device you are connecting to implements
echoing. Have you tried connecting a terminal emulator to it?

regards
 Steve
-- 
Steve Holden           +1 571 484 6266   +1 800 494 3119
PyCon is coming! Atlanta, Feb 2010  http://us.pycon.org/
Holden Web LLC                 http://www.holdenweb.com/
UPCOMING EVENTS:        http://holdenweb.eventbrite.com/




More information about the Python-list mailing list