summaryrefslogtreecommitdiff
path: root/gr-blocks/grc/blocks_complex_to_interleaved_short.block.yml
blob: 0b8aa5362193286bbc5ca57a2e74f4ed33e6eb80 (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
id: blocks_complex_to_interleaved_short
label: Complex To IShort

parameters:
-   id: vector_output
    label: Vector Output
    dtype: enum
    default: 'False'
    options: ['False', 'True']
    option_labels: ['No', 'Yes']
    option_attributes:
        vlen: ['1', '2']
    hide: ${ 'part' if vlen == 1 else 'none' }

inputs:
-   domain: stream
    dtype: complex

outputs:
-   domain: stream
    dtype: short
    vlen: ${ vector_output.vlen }

templates:
    imports: from gnuradio import blocks
    make: blocks.complex_to_interleaved_short(${vector_output})

file_format: 1