[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] [Openlte-discuss] Segmentation fault in when usin

From: Dincer Beken
Subject: Re: [Discuss-gnuradio] [Openlte-discuss] Segmentation fault in when using gnuradioresampler block in c++ flowgraph [SOLVED]
Date: Sun, 6 Oct 2013 12:52:11 +0000

Hi all,


after experimenting and searching a little bit I found the solution:


gr::filter::rational_resampler_base_ccf sptr resampler_filter;

resampler_filter = gr::filter::rational_resampler_base_ccf::make(…);

top_block—> connect(samp_src,resampler_filter,0) ….


And so on,


The resampler filter does not work but I need to work on it a little bit more.

If anyone experiences the same problem, this just the solution for how to connect blocks in c++, I guess.




Von: Dincer Beken [mailto:address@hidden
Gesendet: Sonntag, 6. Oktober 2013 13:46
An: address@hidden; address@hidden
Betreff: [Openlte-discuss] Segmentation fault in when using gnuradioresampler block in c++ flowgraph


Hi all,


I want to connect the rational resampler to the block called “state machine”. Whenever I invoke the rational resampler I get an “SEGMENTATION FAUL” error. I use an C++ flowgraph.


Header file:

gr::top_block_sptr top_block; // Included hier_block2.h

gr::filter::rational_resampler_base_ccf::sptr resampler_filter;


Source File:


top_block->connect(samp_src, 0, resampler_filter, 0);

top_block->connect(resampler_filter,0, state_machine, 0);





What am I Missing? Does the header not find the source file rational_resapmler_base_cf_impl.c? Do I have to use for some reason another (PFB) filter? How can I invoke a gnuradio block like that in general in such a flowgraph?


How do I have to invoke the pointer for the resampler block?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]