# Reading I/0 port USRP

**URL:** <https://www.ruby-forum.com/t/reading-i-0-port-usrp/242341>\
**Category:** GNU Radio\
**Created:** [June 16, 2015, 8:57pm UTC](https://www.ruby-forum.com/t/reading-i-0-port-usrp/242341 "2015-06-16T20:57:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [June 16, 2015, 8:57pm UTC](https://www.ruby-forum.com/t/reading-i-0-port-usrp/242341/1 "2015-06-16T20:57:21Z")

</div>

Hello,

I have recently created a GnuRadio program in python for a spectroscope  
that i’m working on. However there still remains a couple of functions  
that i need to implement, one of which requires to read a square wave  
signal on the I/O port of the USRP (Ettus X310).

I’m having difficulty finding a way to read these incoming ones and  
zeros in python. I have read something about gr-gpio but i can’t find  
any concrete examples.

Anyone that can guide me in the right direction or perhaps show some  
examples?

Any help would be appreciated

Regards  
Simon
