Editing Stream Demux

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:
 
Stream demuxing block to demultiplex one stream into N output streams.
 
Stream demuxing block to demultiplex one stream into N output streams.
 
      
 
      
Demuxes a stream producing N outputs streams that contains n_0 items in the first stream, n_1 items in the second, etc., and repeats. Tags are propagated. The number of items in each output stream is specified using the <tt>lengths</tt> parameter like so <tt>[n_0, n_1, ..., n_N-1]</tt>.
+
Demuxes a stream producing N outputs streams that contains n_0 items in the first stream, n_1 items in the second, etc., and repeats. Number of items of each output stream is specified using the <tt>lengths</tt> parameter like so <tt>[n_0, n_1, ..., n_N-1]</tt>.
 
      
 
      
 
Example:<br><tt>
 
Example:<br><tt>
Line 22: Line 22:
 
== Example Flowgraph ==
 
== Example Flowgraph ==
  
This flowgraph shows the Stream Demux block demuxing an input stream into three output streams with <tt>lengths = [2, 3, 4]</tt>.
+
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.
 
 
The block will put 2 items into the first output stream, 3 items into the second output stream, 4 items into the third output stream, and repeat. Notice that tags are preserved.
 
 
 
 
 
[[File:stream_demux_demo_flowgraph.png|800px]]
 
 
 
[[File:Stream_demux_demo_exec.png|800px]]
 
  
 
== Source Files ==
 
== Source Files ==

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)