blob: 04ac69eeb1899ed560e1715b7be5672812e8fdac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
id: blocks_msg_meta_to_pair
label: Message Meta Value to Pair
parameters:
- id: keyin
label: Incoming Meta Name
dtype: string
default: key in
- id: keyout
label: Outgoing Pair Name
dtype: string
default: key out
inputs:
- domain: message
id: inmeta
outputs:
- domain: message
id: outpair
templates:
imports: from gnuradio import blocks
make: blocks.meta_to_pair(${keyin},${keyout})
documentation: |-
This block converts a metadata dictionary item to a pmt pair that is compatible with other blocks expecting a pair in. You can specify which item in the incoming metadata to output as a pair and what the pair name is.
file_format: 1
|