I want to run a small command over and over to check for data from a serial port. It will be using web2py as the frontend to this application. Not only am I new to threading techniques, but I want to get your advise on how to properly create this thread in the controller or elsewhere if needed. Basically I send to a pySerial object just as I would to a file like object. I would have a reading tool that would whatch for new data and a writing pool that would read the data. When I get a certain string in the seriel line, I hope to switch a flag on and tell that something went wrong. My guess would be I have to somehow set session.somethings_wrong to True or something. Best Regards, Jason Brower
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

