Difference between revisions of "Stream to Tagged Stream"

From GNU Radio
Jump to: navigation, search
(Example Flowgraph)
 
Line 17: Line 17:
 
== Example Flowgraph ==
 
== Example Flowgraph ==
  
Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
+
This flowgraph can be found at [https://github.com/gnuradio/gnuradio/blob/master/gr-fec/examples/fecapi_polar_encoders.grc]
 +
 
 +
[[File:Fecapi_polar_encoders_fg.png|800px]]
  
 
== Source Files ==
 
== Source Files ==

Latest revision as of 15:11, 7 December 2020

Converts a regular stream into a tagged stream.

All this block does is add length tags in regular intervals. It can be used to connect a regular stream to a gr::tagged_stream_block.

This block is meant to be connected directly to a tagged stream block. If there are blocks between this block and a tagged stream block, make sure they either don't change the rate, or modify the tag value to make sure the length tags actually represent the packet length.

Parameters[edit]

(R): Run-time adjustable

Packet length (R)
Number of items per tagged stream packet. One tag is written every Packet length items and contains that number.
Length Tag Key
Key of the length tag.

Example Flowgraph[edit]

This flowgraph can be found at [1]

Fecapi polar encoders fg.png

Source Files[edit]

C++ files
[2]
Header files
[3]
Public header files
[4]
Block definition
[5]