Editing Guided Tutorial GNU Radio in C++

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 2: Line 2:
  
 
= Tutorial: Working with GNU Radio in C++ =
 
= Tutorial: Working with GNU Radio in C++ =
 +
<br>
 +
<b>NOTE:</b> This tutorial applies only to GR Release 3.7
  
 
== Objectives ==
 
== Objectives ==
Line 104: Line 106:
 
With this, we have already established the GNU Radio semantics for our block coupled with the OOT module. In the following sections, we will focus on the implementation of our block.
 
With this, we have already established the GNU Radio semantics for our block coupled with the OOT module. In the following sections, we will focus on the implementation of our block.
  
The detailed description of coding structure for the block can be found [[BlocksCodingGuide|here]].
+
The detailed description of coding structure for the block can be found [http://gnuradio.org/redmine/projects/gnuradio/wiki/BlocksCodingGuide#Public-Header-Files here]
  
 
== Step 3: Fleshing out the code ==
 
== Step 3: Fleshing out the code ==
Line 129: Line 131:
 
* The arguments inside <code>gr::block(...)</code> represents the block name and a call to the make function.
 
* The arguments inside <code>gr::block(...)</code> represents the block name and a call to the make function.
  
* The make function <code>gr::io_signature::make(<+MIN_IN+>, <+MAX_IN+>, sizeof(<+ITYPE+>))</code> and <code>gr::io_signature::make(<+MIN_OUT+>, <+MAX_OUT+>, sizeof(<+OTYPE+>))</code> is a member function of the class <code>gr::io_signature</code> that signifies the input and output port/s.
+
* The make function <code>gr::io_signature::make(<+MIN_IN+>, <+MAX_IN+>, sizeof(<+ITYPE+>))</code> and <code>gr::io_signature::make(<+MIN_OUT+>, <+MAX_OUT+>, sizeof(<+OTYPE+>)</code> is a member function of the class <code>gr::io_signature</code> that signifies the input and output port/s.
  
 
* <''MIN_OUT''> and <''MAX_OUT''> represents the maximum and number of ports.
 
* <''MIN_OUT''> and <''MAX_OUT''> represents the maximum and number of ports.
Line 1,302: Line 1,304:
 
connect(normalizer_magsquare, 0, normalizer_ma, 0);
 
connect(normalizer_magsquare, 0, normalizer_ma, 0);
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
-----
 +
 +
[1] http://radioware.nd.edu/documentation/advanced-gnuradio/writing-a-signal-processing-block-for-gnu-radio-part-i

Please note that all contributions to GNU Radio are considered to be released under the Creative Commons Attribution-ShareAlike (see GNU Radio:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)