[Discuss-gnuradio] (no subject)

2016-04-26 Thread Yile Ku
I am running Ubuntu 14.04 and used pybombs to build gnuradio. Whenever I create a module and try and run it, I get the AttributeError shown at the bottom. Y- radio@ubuntu:~$ gr_modtool newmod tryit Creating out-of-tree module in ./gr-tryit... Done. Use 'gr_modtool add' to add a new block to thi

Re: [Discuss-gnuradio] (no subject)

2016-04-26 Thread Yile Ku
So a 'sudo ldconfig' fixed the problem. On Tue, Apr 26, 2016 at 7:20 AM, Yile Ku wrote: > I am running Ubuntu 14.04 and used pybombs to build gnuradio. Whenever I > create a module and try and run it, I get the AttributeError shown at the > bottom. > > Y- > &g

[Discuss-gnuradio] Gnu Radio Profiling Questions

2016-05-31 Thread Yile Ku
Hello. I built gnu radio using the cmake -DENABLE_PERFORMANCE_COUNTERS=True on Ubuntu 14.04.4 32-bit. I then did a 'sudo make install'. When I run gr-ctrlport-monitor I get the following error: e@ubuntu:~$ gr-ctrlport-monitor Traceback (most recent call last): File "/usr/local/bin/gr-ctrlport

[Discuss-gnuradio] Interfacing a software radio to gnu radio companion

2015-04-20 Thread Yile Ku
Is there some documentation on how to build a module to support a new software radio generating samples into gnu radio? Thanks, Y- ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] I & Q channels in source module

2015-04-23 Thread Yile Ku
I am writing a source module/block and I generate 16 bit signed I and Q values. There is first a 16 bit I value then a 16 bit Q value repeated 1024 times. In my source module I have: usbradio_impl::usbradio_impl() : gr::sync_block("usbradio", gr::io_signature::make(1, 1,

[Discuss-gnuradio] Module not showing up in companion

2015-04-25 Thread Yile Ku
I have built a custom source module. I followed the steps for coding and did a make, make test, make install. Then I did the gr_modtool makexml my_mod, and a 'make install again. I can see the module in /usr/local/share/gnuradio/grc/blocks/my_mod.xml. When I run gnuradio-companion I can find th

[Discuss-gnuradio] I & Q samples in a source module

2015-05-08 Thread Yile Ku
My source modules has 16-bit I & Q samples that are interleaved: I,Q,I,Q,I,Q... as signed 16 bit values. I generate 512 pairs at a time in my work function (C++). I set noutput_items to 512 and copy I and Q out 512 times to the output_items variable in the work function. Is this the correct for

[Discuss-gnuradio] Parameters for Source Block

2015-05-24 Thread Yile Ku
Got the source block working. Thanks for the help. Is there a standard way to add parameters to a source block? I notice in gnuradio-companion you can right click on the block and it has parameters that are settable for that block. I need to reference external parameters such as frequency and s