Re: [Discuss-gnuradio] controlling Digital I/O from GRC

2014-04-25 Thread Marcus Leech
Actually, I've always thought that it would be useful to be able to acquire a "handle" for a block, for use in "helper functions" within GRC, you can   actually achieve a fair amount with "helper code" that is hung off of buttons or function-probes and the like.   All of the GPIO stuff in gr-uhd is

Re: [Discuss-gnuradio] controlling Digital I/O from GRC

2014-04-25 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ben, this is basically hardware access that can't be abstracted to a sample stream, so no, you can't do it with GRC out of the box. What you can do is write a C++ class, implementing a message receiver, communicating with the USRP, and wrap that wi

[Discuss-gnuradio] controlling Digital I/O from GRC

2014-04-24 Thread Lapointe, Benjamin - 1008 - MITLL
Hi, I would like to control the digital I/O (8 of the lines) of the USRP X300 from GNU Radio Companion. Has anyone attempted this? >From reading the gpio_api online, it sounds like I need to discover the digital I/O by using the get_gpio_banks function in multi_usrp, and then use usrp_x300