I often find that  GRC instantiates function_probes/threads before the
block/object/probe that is being called by the function probe, which causes
an exception.  It takes some trickery, like copying and re-pasting blocks
in GRC to change the order in the generated python file.

To fix this I've modified:

grc/core/FlowGraph.py
grc/core/generator/Generator.py
grc/core/generator/flow_graph.tmpl

so function probes are always declared after all blocks.

Is there a reason why we haven't done this before?  If not I can submit a
PR for the simple fix.

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

Reply via email to