At 08:14 AM 2/15/2014, you wrote:
Vernon
Your suggestion is interesting but not practical for our needs.
Have you profiled pySerial? http://pyserial.sourceforge.net/examples.html
I use it in my LX200 serial telescope package
http://rjs.org/Python/LX200/LXSerial.py/LXSerial.html
On Feb 14, 2014, at 6:01 PM, Tony Cappellini
cappy2...@gmail.commailto:cappy2...@gmail.com wrote:
I'm trying to determine if it's possible optimize the python code so that
dumping the data will occur faster. Currently, it takes ~25 minutes at 9600
baud to dump 8-15 MB of data.
There’s
Message: 1
Date: Sun, 16 Feb 2014 12:02:45 +1300
From: Greg Ewing greg.ew...@canterbury.ac.nz
To: python-win32 python-win32@python.org
Subject: Re: [python-win32] optimizing code to read serial port
Message-ID: 52fff215.9000...@canterbury.ac.nz
Content-Type: text/plain; charset=ISO-8859-1; format
Tony:
Don't do it!
Do not attempt to make your data transfer faster while using this
defective hardware design! Trust me on this. I have been doing serial
port data transfer since 300 baud was fast.
The problem with your data transfer speed is not your program optimization.
It is contained
Vernon
Your suggestion is interesting but not practical for our needs.
We are collecting data from many devices that have failed tests, and often
have 10 or more failed devices that we need to collect the data from. These
are scattered all over a large lab environment. I have a Raspberry Pi, and
No, I haven't.
But I'd be happy to give it a try. Chances are the serial I/O with this
package are more efficient
than the way my program is doing it now.
Thanks for that tip.
I'm also considering compiling my app to a compiled exe using PyPy, once I
understand
the compiler requirements for
I second the suggestion to try pySerial. I have used it for years to
control RS-232 equipment -- don't know why I did not think of that.
Like Terra-Term, pySerial will use device-level, rather than
file-level APIs to talk to the UART.
Of course, your success will depend a great deal on the
I second the suggestion to try pySerial. I have used it for years to
control RS-232 equipment -- don't know why I did not think of that.
Like Terra-Term, pySerial will use device-level, rather than
file-level APIs to talk to the UART.
I was hoping to hear something exactly like this comment,
Tony Cappellini wrote:
Do you have any ides why running a terminal program written in
(presumably C, mentioned in my original message) doesn't seem to suffer
from the problems that my python app does, even when transferring the
data at much higher baud rates?
Could the terminal program
python-win32@python.org
Regarding an in-house python program we use for dumping diagnostic data
over a serial port on Windows 7 ...
I'm trying to determine if it's possible optimize the python code so that
dumping the data will occur faster. Currently, it takes ~25 minutes at 9600
baud to dump
10 matches
Mail list logo