summaryrefslogtreecommitdiff
path: root/gr-digital/grc/digital_dxpsk_mod.block.yml
blob: 577baa4426d09a8a7d0df1af06da115cedc309aa (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
id: digital_dxpsk_mod
label: DPSK Mod
category: '[Core]/Deprecated'

parameters:
-   id: type
    label: Type
    dtype: enum
    options: [dbpsk, dqpsk]
    option_labels: [DBPSK, DQPSK]
-   id: samples_per_symbol
    label: Samples/Symbol
    dtype: int
    default: '2'
-   id: excess_bw
    label: Excess BW
    dtype: real
    default: '0.35'
-   id: mod_code
    label: Gray Code
    dtype: enum
    options: ['"gray"', '"none"']
    option_labels: ['Yes', 'No']
-   id: verbose
    label: Verbose
    dtype: bool
    default: 'False'
    options: ['True', 'False']
    option_labels: ['On', 'Off']
    hide: ${ ('part' if str(verbose) == 'False' else 'none') }
-   id: log
    label: Log
    dtype: bool
    default: 'False'
    options: ['True', 'False']
    option_labels: ['On', 'Off']
    hide: ${ ('part' if str(log) == 'False' else 'none') }

inputs:
-   domain: stream
    dtype: byte

outputs:
-   domain: stream
    dtype: complex

templates:
    imports: from gnuradio import digital
    make: "digital.${type}_mod(\n\tsamples_per_symbol=${samples_per_symbol},\n\texcess_bw=${excess_bw},\n\
        \tmod_code=${mod_code},\n\tverbose=${verbose},\n\tlog=${log})\n\t"

file_format: 1