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

2007-08-07 Thread pauland80
>My soft passively listen to a device sending +- 300 bytes of data each >second. After several hours of work, the soft abruptly stops receiving >data without any error, (while the device sends properly, of course) >and I need to restart it (the python soft) to "reactivate" the port

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

2007-06-06 Thread Hendrik van Rooyen
<[EMAIL PROTECTED]> wrote: >Hello, > >My soft passively listen to a device sending +- 300 bytes of data each >second. After several hours of work, the soft abruptly stops receiving >data without any error, (while the device sends properly, of course) >and I need to restart it (the python soft) to

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

2007-06-06 Thread Troels Thomsen
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 s

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

2007-06-06 Thread pauland80
Hello, My soft passively listen to a device sending +- 300 bytes of data each second. After several hours of work, the soft abruptly stops receiving data without any error, (while the device sends properly, of course) and I need to restart it (the python soft) to "reactivate" the ports. I read th