Is it possible to use python to get True Full Duplex on a Serial port?

Grant Edwards grante at visi.com
Sun Aug 16 15:55:31 CEST 2009


On 2009-08-15, Hendrik van Rooyen <hendrik at microcorp.co.za> wrote:
> On Saturday 15 August 2009 16:25:03 Grant Edwards wrote:
>
>> Are you using python file operations open/read/write or OS
>> file-descriptor operations os.open/os.read/os.write?
>
> The former - that seems to be the source of my trouble.
>
> I have now written a little test that uses serial.Serial and
> it works a treat.

Good to hear.

> I am still confused about pyserial and serial - I found serial
> in my distribution library, (on the SuSe machine, not on the
> 2.5 in Slackware) but I had to download pyserial.

That's very interesting.  Is the pre-existing "serial" a
version of pyserial that the packager had pre-installed or is
it something else?  I didn't know any distributions shipped
Python with pyserial installed.  In either case, "serial" isn't
something that ships with the standard Python library.

> I see that you were the the original author.  Thank you for
> letting this stuff loose in the wild.

My pleasure.

-- 



More information about the Python-list mailing list