On 27/04/2011 12:27 PM, Songsong Gee wrote:
Thank you for your answer.
I have one more question,
In that directory, there are lots of python script,
Unfortunately, I'm not good at that language
and I have just learned GNU Radio with GRC
Is that what I wanted now available in GRC?
Generally, custom processing blocks, which is what you'll likely be
having to do, are written in C++.
In Gnu Radio, the Python is used as a kind of "glue" that sets up and
"manages" flow-graphs, but the
underlying signal-processing elements, and buffer and task scheduling
is generally handled in C code.
The vast majority of those blocks have mappings into Python (via
Swig) to allow the Python
``management` structure to manage them.
GRC emits Python code, using the underlying Gnu Radio conventions and
mechanisms to form a flow-graph.
Blocks you write yourself can be ``manifested`` (via Swig) into Python,
and then ``manifested`` via XML into
GRC.
The XML that GRC uses exists as a way of describing the ``surface`` of a
processing block, and also as a way of
describing the Python code that must be emitted in order to plug the
block into the overall flow-graph.
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio