asyncio compatibility

Supporting 2.7 and 3.2+
Fresh meat
Posts: 3
Joined: Mon May 07, 2018 7:25 pm

asyncio compatibility

Postby aho » Mon May 07, 2018 7:35 pm

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?


Fresh meat
Posts: 2
Joined: Wed Oct 31, 2018 9:17 am

Re: asyncio compatibility

Postby dpastl » Wed Oct 31, 2018 9:20 am

I was looking into this as well yesterday, it would be really great if it was possible.

Return to “Python”

Who is online

Users browsing this forum: No registered users and 0 guests