Bob Greschke wrote: > But writing anything to the port > quickly (not always right away...like maybe 5-6 iterations through the > loop?) causes the > > win32file.CloseHandle(self.hComPort) > > statement in the 'def close(self)' function of the serialwin32.py file of > the pySerial package to hang for a few seconds, then return.
Are you certain it is this line that is blocking, and not the preceding line which is a call to SetCommTimeouts()? How did you prove which line it is? (I don't have an answer to the problem, just wanted to be sure of the information...) -Peter -- http://mail.python.org/mailman/listinfo/python-list