Page 1 of 1

asyncio compatibility

Posted: Mon May 07, 2018 7:35 pm
by aho
Hello, I'm trying to write a server that among other things reads from a temperature phidget. I'd like to use asyncio/aiohttp as my main event thread to handle incoming HTTP connections. I'm creating Phidgets Channel objects in Python 3.5, and when I run my Phidget code standalone, I am receiving attach, detach, and temperatureChange events. However, once I start my aiohttp.web.Application, I stop getting Phidget22 events (but continue to get async events).

What threading library does Phidget22 use? Is it possible to integrate the two event libraries?

Cheers!

Re: asyncio compatibility

Posted: Wed Oct 31, 2018 9:20 am
by dpastl
I was looking into this as well yesterday, it would be really great if it was possible.