Re: [python-win32] optimizing code to read serial port

2014-02-16 Thread RayS
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

Re: [python-win32] optimizing code to read serial port

2014-02-16 Thread Tim Roberts
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

Re: [python-win32] optimizing code to read serial port

2014-02-16 Thread Tony Cappellini
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;