Hi,

In gqrx I am successfully using disconnect_all() at the top-block
level. Tonight I have tried to use it in a hier_block2 but it doesn't
seem to work.
The relevant code snippet is here:
https://gist.github.com/csete/5008658#file-iq_swap-cpp-L42 - a call to
set_enabled() results in:

terminate called after throwing an instance of 'std::invalid_argument'
  what():  input port 0 out of range for complex_to_float(26)
Aborted (core dumped)

If I disconnect the blocks manually it works fine, which lead me to
believe that disconnect_all() only works at top-block level? Or maybe
a bug?
I'm using gnuradio/master from yesterday: v3.6.3-128-gbbc4da83

Alex

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to