>> 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, since I'm not very familiar with the details of the winapi, and suspected there may be several ways to talk to a serial port. As far as the drivers, when I'm not using a USB-seral adapter, the serial port driver is coming straight from Redmond. I will give this a try, then post some results. On Sat, Feb 15, 2014 at 11:04 AM, Vernon D. Cole <vernondc...@gmail.com>wrote: > 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 skill of the > programmer who wrote the driver for your USB-serial device. The > important part of the work is done in the driver when it processes > interrupts in Kernel mode. The USB adapter I tried -- well, lets just > say it's still sitting in a box of loose parts. That's why I have been > contemplating a Raspberry Pi purchase myself. Perhaps we should take > this discussion off line and compare notes. > > > > > On Sat, Feb 15, 2014 at 9:40 AM, RayS <r...@blue-cove.com> wrote: > >> > >> 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 > >> http://rjs.org/Python/LX200.zip > >> > >> - Ray > >> > > >
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32