Python Block with Vectors: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


The previous tutorial, [[Creating_Your_First_Block|Creating Your First Block]], demonstrates how to create a Python block using the ''Embedded Python Block''. The next tutorial, [[Python_Block_Message_Passing|Python Block Message Passing]] describes how to send and receive messages using the ''Embedded Python Block''.
The previous tutorial, [[Creating_Your_First_Block|Creating Your First Block]], demonstrates how to create a Python block using the ''Embedded Python Block''. The next tutorial, [[Python_Block_Message_Passing|Python Block Message Passing]] describes how to send and receive messages using the ''Embedded Python Block''.


== Building the flowgraph ==
== Building the flowgraph ==


This tutorial uses vectors, please complete the [[Streams_and_Vectors|Streams and Vectors]] tutorial before moving on.
This tutorial uses vectors, please complete the [[Streams_and_Vectors|Streams and Vectors]] tutorial before moving on.

Revision as of 13:41, 31 January 2022

Template:TutorialNavigation

This tutorial describes how the Python Embedded Block can be modified to accept vector inputs and outputs, and how the input_items vector indexing is different between vectors and streams.

The previous tutorial, Creating Your First Block, demonstrates how to create a Python block using the Embedded Python Block. The next tutorial, Python Block Message Passing describes how to send and receive messages using the Embedded Python Block.

Building the flowgraph

This tutorial uses vectors, please complete the Streams and Vectors tutorial before moving on.