Re: pyserial with binary data

2004-11-30 Thread Grant Edwards
On 2004-11-26, alastair <[EMAIL PROTECTED]> wrote: > When I send the data on windows everything is ok - on Linux I get the > following traceback: > > Traceback (most recent call last): > ... > File "/home/pythonCode/loader.py", line 155, > in serialWrite > ser.write(buffer) > File "/usr/lib/python

Re: pyserial with binary data

2004-11-30 Thread Peter Hansen
Guillaume Weymeskirch wrote: I've got the same problem. Errno 11 is because too much data, sending is in progress. Fix is easy: assign a non zero value to the writeTimeout property of your serial objet. Then the write method will wait up to this time for sending data. Note that writeTimeout is new

Re: pyserial with binary data

2004-11-30 Thread Guillaume Weymeskirch
Hi, I've got the same problem. Errno 11 is because too much data, sending is in progress. Fix is easy: assign a non zero value to the writeTimeout property of your serial objet. Then the write method will wait up to this time for sending data. Hope that's help Guillaume -- http://mail.python.o