discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] GRC - Always Generate Functions Probes Last?


From: John Malsbury
Subject: [Discuss-gnuradio] GRC - Always Generate Functions Probes Last?
Date: Mon, 28 Nov 2016 19:10:00 -0800

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

reply via email to

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