I'm using pySerial to connect to a serial port (rs232) on a windows xp machine. I'm using python interactive interpretor to interact with the device. I type the following: import serial ser = serial.Serial(2) ser.write("command")
But this does nothing to the control. I have been able to connect via puTTY to verify that the command and the device are working. Next I tried to open the port before writing. It looks like this: import serial ser = serial.Serial(2) ser.open() It returns that an error. It states that I do not have permissions? I don't know how to resolve either issue. Any help would be greatly appreciated.
-- http://mail.python.org/mailman/listinfo/python-list