Streams and Vectors: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
== Streams ==
== Streams ==


''Streams'' in GNU Radio are what convey the information between blocks. A ''Stream'' is represented by the arrows connecting blocks in a flowgraph. A ''Stream'' must have a data type, such as ''Float 32'' or ''Byte''. A ''Stream'' is
''Streams'' in GNU Radio are what convey the information between blocks. A ''stream'' is represented by the arrows connecting blocks in a flowgraph. A ''stream'' must have a data type, such as ''Float 32'' or ''Byte''. A ''stream'' carries 1 sample for each time instance.
 





Revision as of 17:23, 6 January 2022

This tutorial will describe the difference between a Stream and a Vector. You can find the previous tutorial here: Converting Data Types

Streams

Streams in GNU Radio are what convey the information between blocks. A stream is represented by the arrows connecting blocks in a flowgraph. A stream must have a data type, such as Float 32 or Byte. A stream carries 1 sample for each time instance.


  • note: use an image

each time instance carries 1 sample


Vectors

Vectors are like arrays

darker color in GRC

  • note: use an image to