PDA

View Full Version : RS232 Python Code Example?



McRat
July 22nd, 2010, 07:23 PM
Anyone have a small example of Python code that reads in ASCII data from a "dumb" device (one-way communication) into the COM port? The device is 9600:8,N,1 IIRC and uses software handshaking.

I need to port a very old DOS program into Python, and know just the most basic use of Python.

Xyro
July 22nd, 2010, 08:57 PM
This might be a good place to start (http://pyvisa.sourceforge.net/):
I have no Python experience, so I cant help much further.