On Sun, 03 Dec 2006 16:52:33 -0000, Grant Edwards
<[EMAIL PROTECTED]> wrote:

>On 2006-12-03, Si Ballenger <[EMAIL PROTECTED]> wrote:
>
>> In my dealing with serial gizmos I have to put a delay between
>> the request sent to the gizmo and the reading of the serial input
>> buffer for returned data. Serial ports and gizmos need some time
>> to do their thing.
>
>I doubt that's the issue.  He's reading with a 1-second timeout
>value.

I would think a time delay would be needed between the below two
lines in the code if he expects to get a useable data string back
from the gizmo for the command sent to it. 

  ser.write("TC 016 240 100 240 016 240\r\n")
  reading = ser.read(40)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to