|
From: | Marcus D. Leech |
Subject: | Re: [Discuss-gnuradio] GNU Radio conditional operation |
Date: | Wed, 27 Apr 2011 12:40:37 -0400 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
On 27/04/2011 12:27 PM, Songsong Gee wrote:
Generally, custom processing blocks, which is what you'll likely be having to do, are written in C++.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?
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.
[Prev in Thread] | Current Thread | [Next in Thread] |