Re: pyserial script doesnt execute properly

2010-03-10 Thread Gabriel Genellina
En Tue, 09 Mar 2010 12:01:22 -0300, kishore kishorei...@gmail.com escribió: Iam using python 2.5.4 pyserial 2.4 pywin32-214 on windows 7 i hav a small test script written to query a serial device (arduino) and get back reply appropriately Thanks for your response i tried closing idle

Re: pyserial script doesnt execute properly

2010-03-10 Thread kishore
On Mar 10, 1:07 pm, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Tue, 09 Mar 2010 12:01:22 -0300, kishore kishorei...@gmail.com escribió: Iam using python 2.5.4 pyserial  2.4 pywin32-214 on windows 7 i hav a small test script written to query a serial device (arduino)

pyserial script doesnt execute properly

2010-03-09 Thread kishore
hello there Iam using python 2.5.4 pyserial 2.4 pywin32-214 on windows 7 i hav a small test script written to query a serial device (arduino) and get back reply appropriately file: test.py import serial print 'hi' ser=serial.Serial(port='\\.\COM2', baudrate=9600) ser.close()

Re: pyserial script doesnt execute properly

2010-03-09 Thread News123
Hi, kishore wrote: hello there Iam using python 2.5.4 pyserial 2.4 pywin32-214 on windows 7 i hav a small test script written to query a serial device (arduino) and get back reply appropriately file: test.py import serial print 'hi'

Re: pyserial script doesnt execute properly

2010-03-09 Thread kishore
On Mar 9, 2:19 pm, News123 news...@free.fr wrote: Hi, kishore wrote: hello there Iam using python 2.5.4 pyserial  2.4 pywin32-214 on windows 7 i hav a small test script written to query a serial device (arduino) and get back reply appropriately file: test.py import

Re: pyserial script doesnt execute properly

2010-03-09 Thread kishore
On Mar 9, 8:01 pm, kishore kishorei...@gmail.com wrote: On Mar 9, 2:19 pm, News123 news...@free.fr wrote: Hi, kishore wrote: hello there Iam using python 2.5.4 pyserial  2.4 pywin32-214 on windows 7 i hav a small test script written to query a serial device (arduino)

Re: pyserial script doesnt execute properly

2010-03-09 Thread kishore
On Mar 9, 8:01 pm, kishore kishorei...@gmail.com wrote: On Mar 9, 2:19 pm, News123 news...@free.fr wrote: Hi, kishore wrote: hello there Iam using python 2.5.4 pyserial  2.4 pywin32-214 on windows 7 i hav a small test script written to query a serial device (arduino)

Re: pyserial script doesnt execute properly

2010-03-09 Thread Andy
Hi Kishore, Have you tried ser=serial.Serial(port='COM2', baudrate=9600) instead of port='\\.\COM2'? Also, I'd suggest you temporarily define some other parameters that now you're leaving to default values. From the documentation of pyserial: readline(size=None, eol='\n') You're sure that your