On 2012-05-22, Paul Rubin wrote:
> John Nagle writes:
>>If a device is registered as /dev/ttyUSBnn, one would hope that
>> the Linux USB insertion event handler, which assigns that name,
>> determined that the device was a serial port emulator. Unfortunately,
>> the USB standard device class
On 2012-05-22, John Nagle wrote:
> On 5/22/2012 8:42 AM, Grant Edwards wrote:
>> On 2012-05-22, Albert van der Horst wrote:
>
>>> It is anybody's guess what they do in USB.
>>
>> They do exactly what they're supposed to regardless of what sort of
>> bus is used to connect the CPU and the UART (IS
On 5/22/2012 2:07 PM, Paul Rubin wrote:
John Nagle writes:
If a device is registered as /dev/ttyUSBnn, one would hope that
the Linux USB insertion event handler, which assigns that name,
determined that the device was a serial port emulator. Unfortunately,
the USB standard device classes
(
John Nagle writes:
>If a device is registered as /dev/ttyUSBnn, one would hope that
> the Linux USB insertion event handler, which assigns that name,
> determined that the device was a serial port emulator. Unfortunately,
> the USB standard device classes
> (http://www.usb.org/developers/defi
On 5/22/2012 8:42 AM, Grant Edwards wrote:
On 2012-05-22, Albert van der Horst wrote:
It is anybody's guess what they do in USB.
They do exactly what they're supposed to regardless of what sort of
bus is used to connect the CPU and the UART (ISA, PCI, PCI-express,
USB, Ethernet, etc.).
Grant Edwards wrote:
> On 2012-05-19, Paul Simon wrote:
>> "Ron Eggler" wrote:
>
>>> [...] my code looks like this:
>
>>> #!/usr/bin/python
> [...]
>>>port='/dev/ttyUSB0',
>
>> Sounds like you may be using this on a Windows machine.
>
> I don't think so. :)
Nope it's Linmux but nev
On 2012-05-19, Paul Simon wrote:
> "Ron Eggler" wrote:
>> [...] my code looks like this:
>> #!/usr/bin/python
[...]
>>port='/dev/ttyUSB0',
> Sounds like you may be using this on a Windows machine.
I don't think so. :)
--
Grant Edwards grant.b.edwardsYow! Hello
On 2012-05-18, Ron Eggler wrote:
> I'm trying to connect to a serial port and always get the error
> "serial.serialutil.SerialException: Port is already open." which is
> untrue.
It is true.
> I have no serial port open yet, my code looks like this:
> #!/usr/bin/python
> import time
> import se
On 2012-05-22, Albert van der Horst wrote:
>># configure the serial connections (the parameters differs on the device
>># you are connecting to)
>>ser = serial.Serial(
>>port='/dev/ttyUSB0',
>>baudrate=19200,
>>parity=serial.PARITY_ODD,
>>stopbits=serial.STOPBITS_T
In article ,
Ron Eggler wrote:
>Hoi,
>
>I'm trying to connect to a serial port and always get the error
>"serial.serialutil.SerialException: Port is already open." whcih is untrue.
>I have no serial port open yet, my code looks like this:
>#!/usr/bin/python
>import time
>import serial
>
># config
Sounds like you may be using this on a Windows machine. the code is
functional, it is best practice to close the port first before openiing it.
If due to an error, usually not syntax, the port will stay stuck open until
the program is closed and reopened. I have used the Python serial port
(
On Fri, May 18, 2012 at 2:53 PM, Ron Eggler wrote:
> Hoi,
>
> I'm trying to connect to a serial port and always get the error
> "serial.serialutil.SerialException: Port is already open." whcih is untrue.
> I have no serial port open yet, my code looks like this:
> #!/usr/bin/python
> import time
>
Hoi,
I'm trying to connect to a serial port and always get the error
"serial.serialutil.SerialException: Port is already open." whcih is untrue.
I have no serial port open yet, my code looks like this:
#!/usr/bin/python
import time
import serial
# configure the serial connections (the parameters
Turns out there's a windows package that works bautifully with
activestate python:
pyserial-2.4.win32.exe
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
Holger wrote:
> Hi
>
> I'm using python Serial from:
> http://switch.dl.sourceforge.net/sourceforge/pyserial/pyserial-2.4.tar.gz
>
> to implement ymodem and other protocols on the PC com port
>
> And it works like a charm in cygwin, but when I try to use it directly
> in python under windows us
Hi
I'm using python Serial from:
http://switch.dl.sourceforge.net/sourceforge/pyserial/pyserial-2.4.tar.gz
to implement ymodem and other protocols on the PC com port
And it works like a charm in cygwin, but when I try to use it directly
in python under windows using active state python installat
Ron wrote:
Is this built into any of the python versions? Need it! Using 2.3.5 and
doesn't seem to have it.Newbe needs help!email[EMAIL PROTECTED] Thanks Ron
PySerial has never been built in to any standard v
distribution of Python, but it's an easy download
and the web page is the first hit
Is this built into any of the python versions? Need it! Using 2.3.5 and
doesn't seem to have it.Newbe needs help!email[EMAIL PROTECTED] Thanks Ron
--
http://mail.python.org/mailman/listinfo/python-list
18 matches
Mail list logo