"Roel Schroeven" wrote in message
news:mailman.1618.1340910525.4697.python-l...@python.org...
> Temia Eszteri schreef:
>> Actually, I believe someone in an earlier thread in the newsgroup or
>> elsewhere pointed out that serial ports automatically open under
>> Windows. I'd have to look it back
"Grant Edwards" wrote in message
news:jshotj$s55$1...@reader1.panix.com...
> On 2012-06-28, Adam wrote:
>
>> Obviously pySerial considers the serial port open
>
> Because it's already been opened by the Python program.
>
>> and will not open an already open serial port.
>
> Pyserial will happil
Temia Eszteri schreef:
Actually, I believe someone in an earlier thread in the newsgroup or
elsewhere pointed out that serial ports automatically open under
Windows. I'd have to look it back up when I have the time, which I
don't have at the moment, unfortunately.
That doesn't have anything to
On 2012-06-28, Adam wrote:
> Obviously pySerial considers the serial port open
Because it's already been opened by the Python program.
> and will not open an already open serial port.
Pyserial will happily try if you call the open() of a port that's
already open, but Windows will return an err
"Grant Edwards" wrote in message
news:jsg4o8$o4p$1...@reader1.panix.com...
> On 2012-06-27, Adam wrote:
>>
>>> Actually, I believe someone in an earlier thread in the newsgroup or
>>> elsewhere pointed out that serial ports automatically open under
>>> Windows. I'd have to look it back up when
On 2012-06-27, Adam wrote:
>
>> Actually, I believe someone in an earlier thread in the newsgroup or
>> elsewhere pointed out that serial ports automatically open under
>> Windows. I'd have to look it back up when I have the time, which I
>> don't have at the moment, unfortunately.
What they're r
"Temia Eszteri" wrote in message
news:ra2nu7h75720i75ijhabg12dngrab75...@4ax.com...
> On Wed, 27 Jun 2012 22:18:59 + (UTC), Grant Edwards
> wrote:
>
>>> Can you post a small example showing what you're doing?
>>
>>The best way to get help is to write as small a program as possible
>>that de
On Wed, 27 Jun 2012 22:18:59 + (UTC), Grant Edwards
wrote:
>> Can you post a small example showing what you're doing?
>
>The best way to get help is to write as small a program as possible
>that demonstrates the problem, and post it. I'll help you get
>started...
>
>Does this program work?
>
On 2012-06-27, Grant Edwards wrote:
> On 2012-06-27, Adam wrote:
>> "Grant Edwards" wrote:
>>> Why do you need to open it a second time?
>>
>> As far as I can tell, the wireless hardware connected to the
>> USB-to-serial converter is receiving data (which may have the serial
>> port open?). I
On 2012-06-27, Adam wrote:
> "Grant Edwards" wrote:
>> On 2012-06-27, Adam wrote:
>>
>>> The Python script needed a call to ser.close() before ser.open() in
>>> order to work.
>>
>> IOW, the port opened OK, but when you tried to open it a second time
>> without closing it first, _that's_ when th
"Grant Edwards" wrote in message
news:jsftah$bb5$1...@reader1.panix.com...
> On 2012-06-27, Adam wrote:
>
>> The Python script needed a call to ser.close() before ser.open() in
>> order to work.
>
> IOW, the port opened OK, but when you tried to open it a second time
> without closing it first,
On 2012-06-27, Adam wrote:
> The Python script needed a call to ser.close() before ser.open() in
> order to work.
IOW, the port opened OK, but when you tried to open it a second time
without closing it first, _that's_ when the .open() call failed.
That's a restriction built in to Win32. You ca
"Paul" wrote in message
news:jsfhv2$ta9$1...@dont-email.me...
> Adam wrote:
>
>>
>> This is a tough one.
>
> Try
>
>handle -a > allhand.txt
>
> Then open the allhand.txt with Notepad and look for interesting entries.
>
> ***
>
> I tested right now, and first opened a session in HyperTerm
Adam wrote:
This is a tough one.
Try
handle -a > allhand.txt
Then open the allhand.txt with Notepad and look for interesting entries.
***
I tested right now, and first opened a session in HyperTerminal with one
of my USB to serial adapters. The second serial adapter, is connect to
"Paul" wrote in message
news:jsfatv$djt$1...@dont-email.me...
> Adam wrote:
>> "Paul" wrote in message
>> news:jseu9c$sp3$1...@dont-email.me...
>>> Adam wrote:
"John Nagle" wrote in message
news:jse604$1cq$1...@dont-email.me...
> On 6/26/2012 9:12 PM, Adam wrote:
>> Host OS
Adam wrote:
"Paul" wrote in message
news:jseu9c$sp3$1...@dont-email.me...
Adam wrote:
"John Nagle" wrote in message
news:jse604$1cq$1...@dont-email.me...
On 6/26/2012 9:12 PM, Adam wrote:
Host OS:Ubuntu 10.04 LTS
Guest OS:Windows XP Pro SP3
I am able to open port COM4 with Termina
"Paul" wrote in message
news:jseu9c$sp3$1...@dont-email.me...
> Adam wrote:
>> "John Nagle" wrote in message
>> news:jse604$1cq$1...@dont-email.me...
>>> On 6/26/2012 9:12 PM, Adam wrote:
Host OS:Ubuntu 10.04 LTS
Guest OS:Windows XP Pro SP3
I am able to open po
On 2012-06-27, David H. Lipman wrote:
> From: "Adam"
>> "John Nagle" wrote in message
>> news:jse604$1cq$1...@dont-email.me...
>>> On 6/26/2012 9:12 PM, Adam wrote:
Host OS:Ubuntu 10.04 LTS
Guest OS:Windows XP Pro SP3
I am able to open port COM4 with Terminal emulato
From: "Adam"
"John Nagle" wrote in message
news:jse604$1cq$1...@dont-email.me...
On 6/26/2012 9:12 PM, Adam wrote:
Host OS:Ubuntu 10.04 LTS
Guest OS:Windows XP Pro SP3
I am able to open port COM4 with Terminal emulator.
So, what can cause PySerial to generate the following error
Adam wrote:
"John Nagle" wrote in message
news:jse604$1cq$1...@dont-email.me...
On 6/26/2012 9:12 PM, Adam wrote:
Host OS:Ubuntu 10.04 LTS
Guest OS:Windows XP Pro SP3
I am able to open port COM4 with Terminal emulator.
So, what can cause PySerial to generate the following error ...
"John Nagle" wrote in message
news:jse604$1cq$1...@dont-email.me...
> On 6/26/2012 9:12 PM, Adam wrote:
>> Host OS:Ubuntu 10.04 LTS
>> Guest OS:Windows XP Pro SP3
>>
>>
>> I am able to open port COM4 with Terminal emulator.
>>
>> So, what can cause PySerial to generate the following erro
On 6/26/2012 9:12 PM, Adam wrote:
Host OS:Ubuntu 10.04 LTS
Guest OS:Windows XP Pro SP3
I am able to open port COM4 with Terminal emulator.
So, what can cause PySerial to generate the following error ...
C:\Wattcher>python wattcher.py
Traceback (most recent call last):
File "wattche
22 matches
Mail list logo