serial and threads
natunika at gmx.de
Tue Aug 17 12:15:04 CEST 2004
I'm trying to write a program in python using the modules
'serialwin32' and 'thread' to create one thread that writes to a
serial port and another one that reads from it at 'the same time'. My
print "SENT: %s" % input
result = s.read(1)
and I call them with
The first one seems to run fine, but for the second one I get the
error message 'ClearCommError', 'the handle is invalid'.
Does anyone have a clue whether maybe serialwin32 is not
Thanks for your help in advance!
More information about the Python-list