Re: pyserial script doesnt execute properly

2010-03-10 Thread kishore
On Mar 10, 1:07 pm, "Gabriel Genellina" wrote: > En Tue, 09 Mar 2010 12:01:22 -0300, kishore > 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

Re: pyserial script doesnt execute properly

2010-03-10 Thread Gabriel Genellina
En Tue, 09 Mar 2010 12:01:22 -0300, kishore 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 and the followi

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 y

Re: pyserial script doesnt execute properly

2010-03-09 Thread kishore
On Mar 9, 8:01 pm, kishore wrote: > On Mar 9, 2:19 pm, News123 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) > > > a

Re: pyserial script doesnt execute properly

2010-03-09 Thread kishore
On Mar 9, 8:01 pm, kishore wrote: > On Mar 9, 2:19 pm, News123 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) > > > a

Re: pyserial script doesnt execute properly

2010-03-09 Thread kishore
On Mar 9, 2:19 pm, News123 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 >

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' > ser=serial.Ser