On Thu, 15 Dec 2005, Bobby Castleberry wrote:
> I'm looking to capture weights coming off of several in-motion scales > through serial ports and dump them into a database. The database part > is easy but I've never worked with serial collection. Hi Bobby, There's a module for handling the serial port called PySerial: http://pyserial.sourceforge.net/ Does this look useful for you? You could set up a thread to read data from each of your those ports, and just call read(). There does appear to be work on making PySerial asynchronous: http://mail.python.org/pipermail/python-list/2005-July/292174.html but I don't know how far this has gone yet; you may want to talk with the Twisted folks for an up-to-date status on it. Best of wishes! _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor