PDU Set: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
(Add source file links)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
Set a Key-Value pair in pdu's meta field and pass on.
Set a Key-Value pair in PDU's meta field and pass on.
 
<b>Note for 3.10</b> This block has been moved from gr-blocks to gr-pdu, which causes a name change of the id. See [[Porting_Existing_Flowgraphs_to_a_Newer_Version#PDU_blocks_moved_from_gr-blocks_to_gr-pdu]] for details.


== Parameters ==
== Parameters ==
Line 13: Line 15:
== 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://raw.githubusercontent.com/gnuradio/gnuradio/master/gr-pdu/examples/pdu_tools_demo.grc]
 
[[File:Pdu_tools_demo_fg.png|800px]]
 
== Example Output ==
 
[[File:Pdu_tools_demo_out.png|800px]]


== Source Files ==
== Source Files ==


; C++ files
; C++ files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/master/gr-pdu/lib/pdu_set_impl.cc]


; Header files
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/master/gr-pdu/lib/pdu_set_impl.h]


; Public header files
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/master/gr-pdu/include/gnuradio/pdu/pdu_set.h]


; Block definition
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/master/gr-pdu/grc/pdu_pdu_set.block.yml]

Latest revision as of 10:02, 3 March 2025

Set a Key-Value pair in PDU's meta field and pass on.

Note for 3.10 This block has been moved from gr-blocks to gr-pdu, which causes a name change of the id. See Porting_Existing_Flowgraphs_to_a_Newer_Version#PDU_blocks_moved_from_gr-blocks_to_gr-pdu for details.

Parameters

(R): Run-time adjustable

Key (R)
The Key to set
Value (R)
The value to set

Example Flowgraph

This flowgraph can be found at [1]

Pdu tools demo fg.png

Example Output

Pdu tools demo out.png

Source Files

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