Re: pySerial Windows write problem
- From: Peter Hansen <peter@xxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 18:24:59 -0400
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 .
- Follow-Ups:
- Re: pySerial Windows write problem
- From: Bob Greschke
- Re: pySerial Windows write problem
- References:
- pySerial Windows write problem
- From: Bob Greschke
- pySerial Windows write problem
- Prev by Date: Re: Friend wants to learn python
- Next by Date: Re: Cgi scripts in apache not working
- Previous by thread: Re: pySerial Windows write problem
- Next by thread: Re: pySerial Windows write problem
- Index(es):
Relevant Pages
|