When I try to connect the chains together at startup I’m getting a seg
fault with the following line. Its the first line where I connect the
first chain together.
You may want to checkout the stream selector block in this project, as
opposed to stopping and disconnecting:
When I try to connect the chains together at startup I’m getting a seg
fault with the following line. Its the first line where I connect the
first chain together.
top_block->connect(filter1, 0, quad_demod1, 0);
What am I not understanding about this?
I recommend taking a look at a gdb traceback. But if I had to guess,
filter1 or quad_demod could be an empty shared pointer → ie not
initialized.
You may want to checkout the stream selector block in this project, as
opposed to stopping and disconnecting:
thanks I’ll look at that.
I recommend taking a look at a gdb traceback. But if I had to guess,
filter1 or quad_demod could be an empty shared pointer → ie not
initialized.
I have but it’s 4 or 5 levels down inside of boost. both filter1 and the
quad_demod block appear to be valid. In the filter block I can call
set_center_freq and in the demod block I can call set_gain. Both of
those calls work.
You may want to checkout the stream selector block in this project, as
opposed to stopping and disconnecting:
that looks like it will do exactly what i need. But I’m having trouble
figuring out how to use set_paths. For the case of one input with
multiple outputs and the case of multiple inputs and one output.
steve
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.