nonblocking reads in windows?

Christian Aastorp christian.aastorp.killspam at siemens.no
Thu Aug 29 04:58:08 EDT 2002


On Wed, 28 Aug 2002 09:55:23 +0100, Joe Connellan <joec at mill.co.uk>
wrote:


>0401rm requests a reading from the device, on my machine I get nothing, on my friends I get the
>data back from the reading.
>
>Also I have noticed that after a reboot my machine (a laptop) wont even read from the com port
>using os.open and os.read but after I connect to the device using hyperterminal, I can then read
>it with os.open and os.read - until the next reboot. Maybe I've got flakey com ports, its a Dell
>inspiron 8200.

Could this be some power saving setting? Some laptops disable as many
features as possible, especially when running from batteries.





More information about the Python-list mailing list