Re: [Tutor] Pyserial and general python serial help

2008-10-09 Thread Chris Fuller
Are you reading everything in the buffer? How much data is sent every 10ms? At 9600/8/N/1, the throughput is 960 byes a second, so if there's more than 9 bytes, something will give. Similarly, at 115200 baud, the limit is 115 bytes. Some general advice: don't try to sync your program to the 10m

Re: [Tutor] Pyserial and general python serial help

2008-10-09 Thread Kent Johnson
On Thu, Oct 9, 2008 at 1:28 PM, Damon McCartney <[EMAIL PROTECTED]> wrote: > Im trying to read data from the serial port which is being sent from a > device every 10ms, I seem to be able to read the data in a while loop but > eventually the buffer seems to overflow and the data gets scrambled. It

[Tutor] Pyserial and general python serial help

2008-10-09 Thread Damon McCartney
Hi! New to python but finding it fast and effective to use! But heres my problem, Im trying to read data from the serial port which is being sent from a device every 10ms, I seem to be able to read the data in a while loop but eventually the buffer seems to overflow and the data gets scrambled.