Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44144
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <chandan_psr@yahoo.co.in> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.071 |
| X-Spam-Evidence | '*H*': 0.86; '*S*': 0.00; '%s"': 0.09; '22,': 0.09; 'kumar': 0.09; 'python': 0.11; 'windows': 0.15; '(2,': 0.16; '55,': 0.16; 'numbering': 0.16; 'open\xa0': 0.16; 'port:': 0.16; 'received:106.10.166.120': 0.16; 'xppython': 0.16; 'zero.': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'advance.': 0.19; 'passing': 0.19; 'pfxlen:0': 0.19; 'subject:Issue': 0.19; 'working.': 0.19; 'starts': 0.20; 'import': 0.22; 'shell': 0.22; 'error': 0.23; 'mon,': 0.24; '---': 0.24; 'skip:" 40': 0.26; 'header:In-Reply- To:1': 0.27; 'to:2**1': 0.27; 'tried': 0.27; 'am,': 0.29; 'raise': 0.29; "i'm": 0.30; 'url:mailman': 0.30; 'code': 0.31; "skip:' 10": 0.31; 'noted': 0.31; 'file': 0.32; 'open': 0.33; 'says': 0.33; 'url:python': 0.33; 'monday,': 0.33; 'device': 0.34; 'date:': 0.34; 'could': 0.34; "can't": 0.35; 'test': 0.35; 'url:listinfo': 0.36; 'thanks': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'wrong': 0.37; 'operating': 0.37; 'email addr:python.org': 0.37; 'list.': 0.37; 'manager': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'anything': 0.39; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'even': 0.60; 'commands': 0.60; 'new': 0.61; 'you.': 0.62; 're:': 0.63; 'email name:python-list': 0.65; 'from:addr:yahoo.co.in': 0.68; 'received:106': 0.68; 'received:106.10': 0.68; 'received:106.10.166': 0.68; 'received:bullet.mail.sg3.yahoo.com': 0.68; 'received:mail.sg3.yahoo.com': 0.68; 'received:sg3.yahoo.com': 0.68; 'serial': 0.72; 'april,': 0.84; 'phil': 0.84; 'received:106.10.151': 0.84; '2013,': 0.91; 'subject:Port': 0.91; 'subject:Serial': 0.91; 'system:': 0.91 |
| X-Yahoo-Newman-Property | ymail-3 |
| X-Yahoo-Newman-Id | 923783.70967.bm@omp1013.mail.sg3.yahoo.com |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1366696946; bh=Kt9vdhWbTtbzB/zaU+XjEjYZuQ2SNKGTLC8loImppVw=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=q+VMuASKB1gydNru6dWRhNjjTR5kXkA+xu/nwh3kWWgkhKhrdJOIZzEtSdD452yJGDr5VM5VUj/bzIQMK2rgXnGWrzXmVXtdf1UY2k+Y2OwSAcSQe41a/IyOXPXhtUM2wQG4yM97H1hdYs6EMes82I7d7oHYwMbuBWji7/ZdoH4= |
| DomainKey-Signature | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=OPWSoXuN+AFGzlEhTvqelY+1hcaZa/EQOhZGFh/1ydKUKLmkm2yj+DP/xRL5/U0CYqLtWZ0bxAeQg9J6Vq/BXkovYZG24tFONzSRbyrSR7pW24ayWZ02pXYXD03P7DHqixA/K0nCdZDVrSKcf0BwqtLLmXCS0Ff7nbYT2wHY3Zk=; |
| X-YMail-OSG | n7U9DScVM1lNH0Bci5ZfjpgKcU2u7p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yQHlhaG8BMAEBAQE- |
| X-Mailer | YahooMailClassic/15.1.7 YahooMailWebService/0.8.141.536 |
| Date | Tue, 23 Apr 2013 14:02:25 +0800 (SGT) |
| From | chandan kumar <chandan_psr@yahoo.co.in> |
| Subject | Re: Serial Port Issue |
| To | python-list@python.org, Phil Birkelbach <phil@petrasoft.net> |
| In-Reply-To | <4DC6A1D4-518F-4FD9-88C5-361975FD98F8@petrasoft.net> |
| MIME-Version | 1.0 |
| Content-Type | multipart/alternative; boundary="1251447850-602811415-1366696945=:92791" |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.952.1366697062.3114.python-list@python.org> (permalink) |
| Lines | 97 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1366697062 news.xs4all.nl 2256 [2001:888:2000:d::a6]:54253 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:44144 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Thanks Phil,You are right .with Port=20 it started working.
Regards,Chandan.
--- On Mon, 22/4/13, Phil Birkelbach <phil@petrasoft.net> wrote:
From: Phil Birkelbach <phil@petrasoft.net>
Subject: Re: Serial Port Issue
To: python-list@python.org
Cc: "chandan kumar" <chandan_psr@yahoo.co.in>
Date: Monday, 22 April, 2013, 8:43 PM
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 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 from windows device manager list.
Operating system: XPPython Ver: 2.5Pyserial: 2.5
Even i tried from python shell passing below
commands
import serialser=ser=serial.Serial(port=21,baudrate=9600)
I observe below error on python shell
File "C:\Python25\lib\serial\serialwin32.py", line 55, in open raise SerialException("could not open port: %s" % msg)SerialException: could not open port: (2, 'CreateFile', 'The system cannot find the file specified.')
Thanks in advance.
Best Regards,Chandan.
<COMPortTest.py><DeviceManager.PNG>--
http://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Serial Port Issue chandan kumar <chandan_psr@yahoo.co.in> - 2013-04-23 14:02 +0800
csiph-web