Re: pySerial question, setting certain serial parameters [newbie]

2012-02-07 Thread Peter
On Feb 4, 11:47 pm, Jean Dupont wrote: > I need to set the following options I found in a Perl-script in Python for > serial communication with a device (a voltmeter): > > $port->handshake("none"); > $port->rts_active(0); > $port->dtr_active(1); > > I have thus far the following  statements but I

Re: pySerial question, setting certain serial parameters [newbie]

2012-02-06 Thread Chris Rebert
On Sat, Feb 4, 2012 at 4:47 AM, Jean Dupont wrote: > I need to set the following options I found in a Perl-script in Python for > serial communication with a device (a voltmeter): > > $port->handshake("none"); > $port->rts_active(0); > $port->dtr_active(1); > > I have thus far the following  stat

pySerial question, setting certain serial parameters [newbie]

2012-02-06 Thread Jean Dupont
I need to set the following options I found in a Perl-script in Python for serial communication with a device (a voltmeter): $port->handshake("none"); $port->rts_active(0); $port->dtr_active(1); I have thus far the following statements but I think it does not set the above parameters correctl

Re: pyserial question

2009-06-19 Thread Grant Edwards
On 2009-06-19, Dennis Lee Bieber wrote: > On Thu, 18 Jun 2009 14:24:42 +0300, Piter_ declaimed >> I cant find out how to set "Handshaking RST on TX" in pyserial. > > Never encountered "RST" mode... "RTS" mode is common. > >>From the source -- a port can be initialized with: [nothing relev

pyserial question

2009-06-18 Thread Piter_
Hi all. I try to control some equipment from python trough comport. I have not succeeded in pyserial. But if I use this terminal: http://hw-server.com/files/priloha/termv19b.zip http://hw-server.com/software/termv19b.html It works with following settings. Boud rate: 9600 Data bids: 8 Parity: none

Re: Beginner Pyserial Question

2008-01-24 Thread JAMoore84
I've solved the problem- Thanks for steering me in the right direction. The problem is that your traditional "COM1" does not exist on this computer (Thanks Grant). A trip to the Device manager listed all the COM ports on the computer. After successfully connecting to COM7 (port = serial.Serial(6)

Re: Beginner Pyserial Question

2008-01-24 Thread Tim Spens
self.device.port = COM a_serial_port = serial_port() a_serial_port.device.open() - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: python-list@python.org Sent: Thursday, January 24, 2008 10:13:39 AM Subject: Re: Beginner Pyserial Question > My guess i

Re: Beginner Pyserial Question

2008-01-24 Thread JAMoore84
> My guess is that for whatever reason the 'first' serial port > (which is what you're asking for by specifying a 0 when > instantiating the Serial class) doesn't actually exist. Serial > device names under Windows are broken. I realize this. I tried connecting to different port "numbers", but I

Re: Beginner Pyserial Question

2008-01-24 Thread Grant Edwards
On 2008-01-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Guys, > > I have a project where I'd like to save GPS data that is streamed to a > Sony Vaio over bluetooth. I can monitor the data stream over Hyper > Terminal, but I'd like to use python to capture it as well. I've > installed Pyt

Beginner Pyserial Question

2008-01-24 Thread JAMoore84
Hi Guys, I have a project where I'd like to save GPS data that is streamed to a Sony Vaio over bluetooth. I can monitor the data stream over Hyper Terminal, but I'd like to use python to capture it as well. I've installed Python 2.5, pyserial 2.2 and the appropriate pywin program (pywin32-210.wi