|
From: | Nowlan, Sean |
Subject: | Re: [Discuss-gnuradio] Fwd: USRP1 control GPIOs on SBX boards |
Date: | Fri, 26 Apr 2013 13:22:22 +0000 |
Unfortunately I wasn't able to determine the problem after a quick glance. I recommend that you use gr_modtool to create an out-of-tree module and then add a block to it. This will
set up most of what you need. Then you can splice in your code/algorithms and not have to worry as much about the boilerplate stuff.
However, you will have to add some stuff to the CMakeList.txt files to pull in UHD support. I don't know off the top of my head how to pull in UHD directly, but if you pull in the gr-uhd package, that should do it for you. See gnuradio/cmake/Modules/FindGnuradio.cmake on the next branch for some guidance on how to do that. --sean
From: discuss-gnuradio-bounces+address@hidden [discuss-gnuradio-bounces+address@hidden on behalf of Nelson Pina address@hidden
Sent: Thursday, April 25, 2013 5:36 PM To: address@hidden Subject: [Discuss-gnuradio] Fwd: USRP1 control GPIOs on SBX boards Hi Sean,
thanks for your feedback.. I'm still trying to get this working but the problem persists. Every time I use the "uhd::device_addr_t addr" class necessary to initialize an "uhd::usrp::multi_usrp::make" object, the GRC program fails.
Do I need to do something in the swig.i or the Python files to use "uhd::device_addr_t addr" class? I will send you my .cc and .h files, y«if you can take a look on those I will be very thankful.
Thanks again.
Best regards,
On Tue, Apr 23, 2013 at 8:31 PM, Sean Nowlan
<address@hidden> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |