- Previous thread: python pyodbc - connect error
- Next thread: [python-win32] Calling random Windows function?
- Threads sorted by date: python 200910
--001636b42e1f7ddd5e04768eaa1c
Content-Type: text/plain; charset=ISO-8859-1
I'm using pySerial to connect to a serial port (rs232) on a windows xp
machine. I'm using python interactive interpretor to interact with the
device. I type the following:
import serial
ser = serial.Serial(2)
ser.write("command")
But this does nothing to the control. I have been able to connect via puTTY
to verify that the command and the device are working. Next I tried to open
the port before
writing. It looks like this:
import serial
ser = serial.Serial(2)
ser.open()
It returns that an error. It states that I do not have permissions? I don't
know how to resolve either issue. Any help would be greatly appreciated.
--001636b42e1f7ddd5e04768eaa1c
Content-Type: text/html; charset=ISO-8859-1
I'm using pySerial to connect to a serial port (rs232) on a windows xp machine. I'm using python interactive interpretor to interact with the device. I type the following:import serialser = serial.Serial(2)
ser.write("command")But this does nothing to the control. I have been able to connect via puTTY to verify that the command and the device are working. Next I tried to open the port beforewriting. It looks like this:
import serialser = serial.Serial(2)ser.open()It returns that an error. It states that I do not have permissions? I don't know how to resolve either issue. Any help would be greatly appreciated.
--001636b42e1f7ddd5e04768eaa1c--
Content-Type: text/plain; charset=ISO-8859-1
I'm using pySerial to connect to a serial port (rs232) on a windows xp
machine. I'm using python interactive interpretor to interact with the
device. I type the following:
import serial
ser = serial.Serial(2)
ser.write("command")
But this does nothing to the control. I have been able to connect via puTTY
to verify that the command and the device are working. Next I tried to open
the port before
writing. It looks like this:
import serial
ser = serial.Serial(2)
ser.open()
It returns that an error. It states that I do not have permissions? I don't
know how to resolve either issue. Any help would be greatly appreciated.
--001636b42e1f7ddd5e04768eaa1c
Content-Type: text/html; charset=ISO-8859-1
I'm using pySerial to connect to a serial port (rs232) on a windows xp machine. I'm using python interactive interpretor to interact with the device. I type the following:import serialser = serial.Serial(2)
ser.write("command")But this does nothing to the control. I have been able to connect via puTTY to verify that the command and the device are working. Next I tried to open the port beforewriting. It looks like this:
import serialser = serial.Serial(2)ser.open()It returns that an error. It states that I do not have permissions? I don't know how to resolve either issue. Any help would be greatly appreciated.
--001636b42e1f7ddd5e04768eaa1c--
--00163692070960c6100476a2b7af
Content-Type: text/plain; charset=ISO-8859-1
I'm using pySerial to connect to a serial port (rs232) on a windows xp
machine. I'm using python interactive interpretor to interact with the
device. I type the following:
import serial
ser = serial.Serial(2)
ser.write("command")
But this does nothing to the control. I have been able to connect via puTTY
to verify that the command and the device are working. Next I tried to open
the port before
writing. It looks like this:
import serial
ser = serial.Serial(2)
ser.open()
It returns that an error. It states that I do not have permissions? I don't
know how to resolve either issue. Any help would be greatly appreciated.
--00163692070960c6100476a2b7af
Content-Type: text/html; charset=ISO-8859-1
I'm using pySerial to connect to a serial port (rs232) on a windows xp
machine. I'm using python interactive interpretor to interact with the
device. I type the following:import serialser = serial.Serial(2)
ser.write("command")But
this does nothing to the control. I have been able to connect via puTTY
to verify that the command and the device are working. Next I tried to
open the port beforewriting. It looks like this:
import serialser = serial.Serial(2)ser.open()It
returns that an error. It states that I do not have permissions? I
don't know how to resolve either issue. Any help would be greatly
appreciated.
--00163692070960c6100476a2b7af--
Content-Type: text/plain; charset=ISO-8859-1
I'm using pySerial to connect to a serial port (rs232) on a windows xp
machine. I'm using python interactive interpretor to interact with the
device. I type the following:
import serial
ser = serial.Serial(2)
ser.write("command")
But this does nothing to the control. I have been able to connect via puTTY
to verify that the command and the device are working. Next I tried to open
the port before
writing. It looks like this:
import serial
ser = serial.Serial(2)
ser.open()
It returns that an error. It states that I do not have permissions? I don't
know how to resolve either issue. Any help would be greatly appreciated.
--00163692070960c6100476a2b7af
Content-Type: text/html; charset=ISO-8859-1
I'm using pySerial to connect to a serial port (rs232) on a windows xp
machine. I'm using python interactive interpretor to interact with the
device. I type the following:import serialser = serial.Serial(2)
ser.write("command")But
this does nothing to the control. I have been able to connect via puTTY
to verify that the command and the device are working. Next I tried to
open the port beforewriting. It looks like this:
import serialser = serial.Serial(2)ser.open()It
returns that an error. It states that I do not have permissions? I
don't know how to resolve either issue. Any help would be greatly
appreciated.
--00163692070960c6100476a2b7af--
On Thu, Oct 22, 2009 at 4:43 PM, Ronn Ross wrote:
> I'm using pySerial to connect to a serial port (rs232) on a windows xp
> machine. I'm using python interactive interpretor to interact with the
> device. I type the following:
> import serial
> ser = serial.Serial(2)
> ser.write("command")
>
> But this does nothing to the control. I have been able to connect via puTTY
> to verify that the command and the device are working. Next I tried to open
> the port before
> writing. It looks like this:
> import serial
> ser = serial.Serial(2)
> ser.open()
>
> It returns that an error. It states that I do not have permissions? I don't
> know how to resolve either issue. Any help would be greatly appreciated.
Have you tried setting the baud rate? (the `baudrate` param to
Serial's constructor)
Why are you using port #2 and not #0?
Cheers,
Chris
--
http://blog.rebertia.com
--
http://mail.python.org/mailman/listinfo/python-list
> I'm using pySerial to connect to a serial port (rs232) on a windows xp
> machine. I'm using python interactive interpretor to interact with the
> device. I type the following:
> import serial
> ser = serial.Serial(2)
> ser.write("command")
>
> But this does nothing to the control. I have been able to connect via puTTY
> to verify that the command and the device are working. Next I tried to open
> the port before
> writing. It looks like this:
> import serial
> ser = serial.Serial(2)
> ser.open()
>
> It returns that an error. It states that I do not have permissions? I don't
> know how to resolve either issue. Any help would be greatly appreciated.
Have you tried setting the baud rate? (the `baudrate` param to
Serial's constructor)
Why are you using port #2 and not #0?
Cheers,
Chris
--
http://blog.rebertia.com
--
http://mail.python.org/mailman/listinfo/python-list
--0016369207096f2dcc0476a2f54e
Content-Type: text/plain; charset=ISO-8859-1
I have tried setting the baud rate with no success. Also I'm using port #2
because I"m using a usb to serial cable.
On Fri, Oct 23, 2009 at 7:51 PM, Chris Rebert wrote:
> On Thu, Oct 22, 2009 at 4:43 PM, Ronn Ross wrote:
> > I'm using pySerial to connect to a serial port (rs232) on a windows xp
> > machine. I'm using python interactive interpretor to interact with the
> > device. I type the following:
> > import serial
> > ser = serial.Serial(2)
> > ser.write("command")
> >
> > But this does nothing to the control. I have been able to connect via
> puTTY
> > to verify that the command and the device are working. Next I tried to
> open
> > the port before
> > writing. It looks like this:
> > import serial
> > ser = serial.Serial(2)
> > ser.open()
> >
> > It returns that an error. It states that I do not have permissions? I
> don't
> > know how to resolve either issue. Any help would be greatly appreciated.
>
> Have you tried setting the baud rate? (the `baudrate` param to
> Serial's constructor)
> Why are you using port #2 and not #0?
>
> Cheers,
> Chris
> --
> http://blog.rebertia.com
>
--0016369207096f2dcc0476a2f54e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I have tried setting the baud rate with no success. Also I'm using port=
#2 because I"m using a usb to serial cable. On Fri, Oct 23, 2009 at 7:51 PM, Chris Rebert &=
lt;clp2@rebertia.com> wr=
ote:
On Thu, Oct 22, 2009 at 4:43 PM, Ronn Ross <ronn.ross@gmail.com> wrote:
> I'm using pySerial to connect to a serial port (rs232) on a window=
s xp
> machine. I'm using python interactive interpretor to interact with=
the
> device. I type the following:
> import serial
> ser =3D serial.Serial(2)
> ser.write("command")
>
> But this does nothing to the control. I have been able to connect via =
puTTY
> to verify that the command and the device are working. Next I tried to=
open
> the port before
> writing. It looks like this:
> import serial
> ser =3D serial.Serial(2)
> ser.open()
>
> It returns that an error. It states that I do not have permissions? I =
don't
> know how to resolve either issue. Any help would be greatly appreciate=
d.
Have you tried setting the baud rate? (the `baudrate` param to
Serial's constructor)
Why are you using port #2 and not #0?
Cheers,
Chris
--
http://blog.rebertia=
.com
--0016369207096f2dcc0476a2f54e--
Content-Type: text/plain; charset=ISO-8859-1
I have tried setting the baud rate with no success. Also I'm using port #2
because I"m using a usb to serial cable.
On Fri, Oct 23, 2009 at 7:51 PM, Chris Rebert wrote:
> On Thu, Oct 22, 2009 at 4:43 PM, Ronn Ross wrote:
> > I'm using pySerial to connect to a serial port (rs232) on a windows xp
> > machine. I'm using python interactive interpretor to interact with the
> > device. I type the following:
> > import serial
> > ser = serial.Serial(2)
> > ser.write("command")
> >
> > But this does nothing to the control. I have been able to connect via
> puTTY
> > to verify that the command and the device are working. Next I tried to
> open
> > the port before
> > writing. It looks like this:
> > import serial
> > ser = serial.Serial(2)
> > ser.open()
> >
> > It returns that an error. It states that I do not have permissions? I
> don't
> > know how to resolve either issue. Any help would be greatly appreciated.
>
> Have you tried setting the baud rate? (the `baudrate` param to
> Serial's constructor)
> Why are you using port #2 and not #0?
>
> Cheers,
> Chris
> --
> http://blog.rebertia.com
>
--0016369207096f2dcc0476a2f54e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I have tried setting the baud rate with no success. Also I'm using port=
#2 because I"m using a usb to serial cable. On Fri, Oct 23, 2009 at 7:51 PM, Chris Rebert &=
lt;clp2@rebertia.com> wr=
ote:
On Thu, Oct 22, 2009 at 4:43 PM, Ronn Ross <ronn.ross@gmail.com> wrote:
> I'm using pySerial to connect to a serial port (rs232) on a window=
s xp
> machine. I'm using python interactive interpretor to interact with=
the
> device. I type the following:
> import serial
> ser =3D serial.Serial(2)
> ser.write("command")
>
> But this does nothing to the control. I have been able to connect via =
puTTY
> to verify that the command and the device are working. Next I tried to=
open
> the port before
> writing. It looks like this:
> import serial
> ser =3D serial.Serial(2)
> ser.open()
>
> It returns that an error. It states that I do not have permissions? I =
don't
> know how to resolve either issue. Any help would be greatly appreciate=
d.
Have you tried setting the baud rate? (the `baudrate` param to
Serial's constructor)
Why are you using port #2 and not #0?
Cheers,
Chris
--
http://blog.rebertia=
.com
--0016369207096f2dcc0476a2f54e--
En Fri, 23 Oct 2009 20:56:21 -0300, Ronn Ross =
escribi=F3:
> I have tried setting the baud rate with no success. Also I'm using port =
> #2
> because I"m using a usb to serial cable.
Note that Serial(2) is known as COM3 in Windows, is it ok?
-- =
Gabriel Genellina
-- =
http://mail.python.org/mailman/listinfo/python-list
escribi=F3:
> I have tried setting the baud rate with no success. Also I'm using port =
> #2
> because I"m using a usb to serial cable.
Note that Serial(2) is known as COM3 in Windows, is it ok?
-- =
Gabriel Genellina
-- =
http://mail.python.org/mailman/listinfo/python-list
--00504502964d2381910476ac9dc2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Yes, with the serial to usb adapter is located on COM3. I have been able to
use puTTY to get into the port and shoot commands at the device, but when I
try to use python I get 'You don't have permissions".
On Sat, Oct 24, 2009 at 12:50 AM, Gabriel Genellina
wrote:
> En Fri, 23 Oct 2009 20:56:21 -0300, Ronn Ross
> escribi=F3:
>
>
> I have tried setting the baud rate with no success. Also I'm using port =
#2
>> because I"m using a usb to serial cable.
>>
>
> Note that Serial(2) is known as COM3 in Windows, is it ok?
>
>
> --
> Gabriel Genellina
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--00504502964d2381910476ac9dc2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Yes, with the serial to usb adapter is located on COM3. I have been able to=
use puTTY to get into the port and shoot commands at the device, but when =
I try to use python I get 'You don't have permissions".
On Sat, Oct 24, 2009 at 12:50 AM, Gabriel Ge=
nellina <gag=
sl-py2@yahoo.com.ar> wrote:
En Fri, 23 Oct 2009 20:56:21 -0300, Ronn Ross <ronn.ross@gmail.com> escribi=F3:
I have tried setting the baud rate with no success. Also I'm using port=
#2
because I"m using a usb to serial cable.
Note that Serial(2) is known as COM3 in Windows, is it ok?
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list
--00504502964d2381910476ac9dc2--
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Yes, with the serial to usb adapter is located on COM3. I have been able to
use puTTY to get into the port and shoot commands at the device, but when I
try to use python I get 'You don't have permissions".
On Sat, Oct 24, 2009 at 12:50 AM, Gabriel Genellina
wrote:
> En Fri, 23 Oct 2009 20:56:21 -0300, Ronn Ross
> escribi=F3:
>
>
> I have tried setting the baud rate with no success. Also I'm using port =
#2
>> because I"m using a usb to serial cable.
>>
>
> Note that Serial(2) is known as COM3 in Windows, is it ok?
>
>
> --
> Gabriel Genellina
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--00504502964d2381910476ac9dc2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Yes, with the serial to usb adapter is located on COM3. I have been able to=
use puTTY to get into the port and shoot commands at the device, but when =
I try to use python I get 'You don't have permissions".
On Sat, Oct 24, 2009 at 12:50 AM, Gabriel Ge=
nellina <gag=
sl-py2@yahoo.com.ar> wrote:
En Fri, 23 Oct 2009 20:56:21 -0300, Ronn Ross <ronn.ross@gmail.com> escribi=F3:
I have tried setting the baud rate with no success. Also I'm using port=
#2
because I"m using a usb to serial cable.
Note that Serial(2) is known as COM3 in Windows, is it ok?
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list
--00504502964d2381910476ac9dc2--
Related Threads
- [Python-Dev] Looking for VCS usage scenarios - python
- [releng_7 tinderbox] failure on i386/pc98 - freebsd
- [Python-Dev] Released fixes for CVE-2008-2315 for Python 2.4? - python
- DO NOT REPLY [Bug 46244] New: Tomcat doesn't start and gives socket connection errors - tomcat
- [users@httpd] How to connect from a remote machine - httpd
- getpriority(2) and rtprio(2) implementation - freebsd