Re: Serial port access

2009-08-09 Thread Hendrik van Rooyen
On Sunday 09 August 2009 03:20:12 nipun batra wrote: On Sun, Aug 9, 2009 at 2:11 AM, Chris Rebert c...@rebertia.com wrote: On Sat, Aug 8, 2009 at 12:34 PM, nipun batranipunredde...@gmail.com wrote: Hi, How can we access serial port using usb-serial converters,using python in linux.

Serial port access

2009-08-08 Thread nipun batra
Hi, How can we access serial port using usb-serial converters,using python in linux.I want to further use pyGTK for Gui development after accessing serial data. -- http://mail.python.org/mailman/listinfo/python-list

Re: Serial port access

2009-08-08 Thread exarkun
On 04:34 pm, nipunredde...@gmail.com wrote: Hi, How can we access serial port using usb-serial converters,using python in linux.I want to further use pyGTK for Gui development after accessing serial data. Twisted supports serial ports and has good Gtk integration.

Re: Serial port access

2009-08-08 Thread nipun batra
On Sun, Aug 9, 2009 at 2:11 AM, Chris Rebert c...@rebertia.com wrote: On Sat, Aug 8, 2009 at 12:34 PM, nipun batranipunredde...@gmail.com wrote: Hi, How can we access serial port using usb-serial converters,using python in linux. PySerial might also be an option:

Re: Serial port access

2009-08-08 Thread nipun batra
Ok i managed to comunicate serially using pySerial,but only using Idle. but when i use it within Geany or Gedit,i get following errors Traceback most recent call last File serial.py,line 3,in module import serial File/home/nipun/serial.py,line 5,in module ser=serial.Serial() Attribute error:module

Threading and serial port access

2005-06-18 Thread willie
Hi, I'm writing a program which requires the use of three serial ports and one parallel port. My application has a scanning devices on each port, which I can access fine with pyserial. However, I'm unsure of how exactly I should be designing the program, I thought I could use threading to start

Re: Threading and serial port access

2005-06-18 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: Hi, I'm writing a program which requires the use of three serial ports and one parallel port. My application has a scanning devices on each port, which I can access fine with pyserial. However, I'm unsure of how exactly I should be designing the program, I thought

Re: Threading and serial port access

2005-06-18 Thread willie
Diez wrote: Apart from that the approach you use is wasting resources - if you are concerned about that (or better style...) use e.g. twisted with the serial and parallel support and its so-called select reactor. The idea behind that concept is that the OS is responsible for scannig IO-Ports.