Re: Serial Port Issue

2013-04-23 Thread Chris “Kwpolska” Warrick
On Mon, Apr 22, 2013 at 11:34 AM, chandan kumar wrote: > Python Ver: 2.5 Old. Please upgrade to 2.7.4 ASAP. > ser=ser=serial.Serial(port=21,baudrate=9600) That double `ser=` thing is not necessary. It should only be `ser = serial.Serial(port=21, baudrate=9600)`. Look at Phil Birkelbach’s pos

Re: Serial Port Issue

2013-04-22 Thread chandan kumar
Thanks Phil,You are right .with Port=20 it started working. Regards,Chandan. --- On Mon, 22/4/13, Phil Birkelbach wrote: From: Phil Birkelbach Subject: Re: Serial Port Issue To: python-list@python.org Cc: "chandan kumar" Date: Monday, 22 April, 2013, 8:43 PM Have you tried 

Re: Serial Port Issue

2013-04-22 Thread Phil Birkelbach
Have you tried 'port=20'? The documentation says that the port numbering starts at zero. I don't use Windows so I can't test it for you. You could also try port="COM21" Phil On Apr 22, 2013, at 4:34 AM, chandan kumar wrote: > Hi, > > I'm new to python and trying to learn serial communicatio

Serial Port Issue

2013-04-22 Thread chandan kumar
Hi, I'm new to python and trying to learn serial communication using python.In this process i'm facing serial port issues.Please find the attached COMPorttest.py file ,correct me if anything wrong in the code.With my code it's always goes in to exception.I noted down the the COM port number  fro