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. I would like to setup several data collection objects (one for each serial port) and as they recieve data they hand off the data to the data dumper object which pushes it up to the database for storage. This seems to me to be the essence of event-driven programming and thus I'm thinking the twisted python framework is the way to go. I've read the paper on defered execution and several articles on asynchonis programming but I'm really having problems wrapping my mind around how this does work (the whole event driven programming/asynchonis programming paradigm). Any advice or linkage to some tutorial type articles for event driven design.
Thanks for any input -- Bobby Castleberry System Administrator Meadowbrook Farms Coop _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor