[pyserial - winXP] Serial port stop receiving data after a few hours, raise no error

Troels Thomsen nejtak...
Wed Jun 6 14:02:42 EDT 2007


I read that when the serial port encounters an error (frame error or
so, I imagine?) it stop receiving data until the library function
"getCommError()" is called.

Troels:
I think you are right


Am I on the good track? Can I call this function from my pyserial
code?
Why pyserial does'nt raise a serial.SerialException in this case?

Troels:
Well , you have the source, don't you ?
The serial lib has a handle somwhere.
Call getCommError with that ? Or ?

tpt 





More information about the Python-list mailing list