[IronPython] serial ports
jsacksteder at gmail.com
Sat Jun 24 22:31:42 CEST 2006
I'm having trouble reading data from a serial port.
I'm connected with a null modem to another pc- I can send text fine with the
Write() method, so I know the cable and bits are all correct. I'm trying
from System.IO.Ports import SerialPort
s = SerialPort(PortName='COM1',BaudRate=9600)
I would expect this to produce a line of text each time the 'return' key was
pressed on remote terminal, yet nothing ever happens. The VB examples I have
looked at seem to use the ReadLine() method in this way. What's the problem?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users