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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
id: dtv_dvbt2_p1insertion_cc
label: P1 Symbol Insertion
parameters:
- id: carriermode
label: Extended Carrier Mode
dtype: enum
options: [CARRIERS_NORMAL, CARRIERS_EXTENDED]
option_labels: [Normal, Extended]
option_attributes:
val: [dtv.CARRIERS_NORMAL, dtv.CARRIERS_EXTENDED]
- id: fftsize1
label: FFT Size
dtype: enum
options: [FFTSIZE_1K, FFTSIZE_2K, FFTSIZE_4K, FFTSIZE_8K, FFTSIZE_8K_T2GI, FFTSIZE_16K,
FFTSIZE_32K, FFTSIZE_32K_T2GI]
option_labels: [1K, 2K, 4K, 8K, 8K DVB-T2 GI, 16K, 32K, 32K DVB-T2 GI]
option_attributes:
val: [dtv.FFTSIZE_1K, dtv.FFTSIZE_2K, dtv.FFTSIZE_4K, dtv.FFTSIZE_8K, dtv.FFTSIZE_8K_T2GI,
dtv.FFTSIZE_16K, dtv.FFTSIZE_32K, dtv.FFTSIZE_32K_T2GI]
hide: ${ (preamble1.hide_base if str(version) == 'VERSION_111' else preamble2.hide_base)
}
- id: fftsize2
label: FFT Size
dtype: enum
options: [FFTSIZE_2K, FFTSIZE_4K, FFTSIZE_8K, FFTSIZE_8K_T2GI, FFTSIZE_16K, FFTSIZE_16K_T2GI]
option_labels: [2K, 4K, 8K, 8K DVB-T2 GI, 16K, 16K DVB-T2 GI]
option_attributes:
val: [dtv.FFTSIZE_2K, dtv.FFTSIZE_4K, dtv.FFTSIZE_8K, dtv.FFTSIZE_8K_T2GI,
dtv.FFTSIZE_16K, dtv.FFTSIZE_16K_T2GI]
hide: ${ (preamble1.hide_lite if str(version) == 'VERSION_111' else preamble2.hide_lite)
}
- id: guardinterval
label: Guard Interval
dtype: enum
options: [GI_1_32, GI_1_16, GI_1_8, GI_1_4, GI_1_128, GI_19_128, GI_19_256]
option_labels: [1/32, 1/16, 1/8, 1/4, 1/128, 19/128, 19/256]
option_attributes:
val: [dtv.GI_1_32, dtv.GI_1_16, dtv.GI_1_8, dtv.GI_1_4, dtv.GI_1_128, dtv.GI_19_128,
dtv.GI_19_256]
- id: numdatasyms
label: Number of Data Symbols
dtype: int
default: '100'
- id: version
label: Specification Version
dtype: enum
options: [VERSION_111, VERSION_131]
option_labels: [1.1.1, 1.3.1]
option_attributes:
hide_111: ['', all]
hide_131: [all, '']
val: [dtv.VERSION_111, dtv.VERSION_131]
- id: preamble1
label: Preamble
dtype: enum
options: [PREAMBLE_T2_SISO, PREAMBLE_T2_MISO]
option_labels: [T2 SISO, T2 MISO]
option_attributes:
hide_base: ['', '']
hide_lite: [all, all]
val: [dtv.PREAMBLE_T2_SISO, dtv.PREAMBLE_T2_MISO]
hide: ${ version.hide_111 }
- id: preamble2
label: Preamble
dtype: enum
options: [PREAMBLE_T2_SISO, PREAMBLE_T2_MISO, PREAMBLE_T2_LITE_SISO, PREAMBLE_T2_LITE_MISO]
option_labels: [T2 SISO, T2 MISO, T2-Lite SISO, T2-Lite MISO]
option_attributes:
hide_base: ['', '', all, all]
hide_lite: [all, all, '', '']
val: [dtv.PREAMBLE_T2_SISO, dtv.PREAMBLE_T2_MISO, dtv.PREAMBLE_T2_LITE_SISO,
dtv.PREAMBLE_T2_LITE_MISO]
hide: ${ version.hide_131 }
- id: showlevels
label: Show Peak IQ Levels
dtype: enum
options: [SHOWLEVELS_OFF, SHOWLEVELS_ON]
option_labels: ['Off', 'On']
option_attributes:
hide_vclip: [all, '']
val: [dtv.SHOWLEVELS_OFF, dtv.SHOWLEVELS_ON]
- id: vclip
label: Vclip
dtype: float
default: '3.3'
hide: ${ showlevels.hide_vclip }
inputs:
- domain: stream
dtype: complex
outputs:
- domain: stream
dtype: complex
templates:
imports: from gnuradio import dtv
make: "dtv.dvbt2_p1insertion_cc(${carriermode.val}, \n% if str(version) == 'VERSION_111':\n\
${fftsize1.val}, \n% else:\n% if str(preamble2) == 'PREAMBLE_T2_SISO' or str(preamble2)\
\ == 'PREAMBLE_T2_MISO':\n${fftsize1.val}, \n% else:\n${fftsize2.val}, \n\
% endif\n% endif\n${guardinterval.val}, ${numdatasyms}, \n% if str(version)\
\ == 'VERSION_111':\n${preamble1.val}, \n% else:\n${preamble2.val}, \n% endif\n\
${showlevels.val}, ${vclip})"
file_format: 1
|