3
###################################################
5
###################################################
8
<name>Number Sink</name>
9
<key>wxgui_numbersink2</key>
10
<import>from gnuradio.wxgui import numbersink2</import>
11
<make>#set $parent = $notebook() and 'self.%s.GetPage(%s)'%$notebook() or 'self'
12
numbersink2.$(type.fcn)(
18
decimal_places=$decimal_places,
20
sample_rate=$samp_rate,
21
number_rate=$number_rate,
23
avg_alpha=#if $avg_alpha() then $avg_alpha else 'None'#,
26
show_gauge=$show_gauge,
29
$(parent).Add(self.$(id).win)
31
$(parent).GridAdd(self.$(id).win, $(', '.join(map(str, $grid_pos()))))
36
<value>complex</value>
41
<opt>fcn:number_sink_c</opt>
46
<opt>fcn:number_sink_f</opt>
52
<value>Number Plot</value>
62
<name>Sample Rate</name>
64
<value>samp_rate</value>
68
<name>Min Value</name>
74
<name>Max Value</name>
86
<name>Decimal Places</name>
87
<key>decimal_places</key>
92
<name>Reference Level</name>
98
<name>Number Rate</name>
99
<key>number_rate</key>
104
<name>Peak Hold</name>
108
<hide>#if $peak_hold() == 'True' then 'none' else 'part'#</hide>
123
<hide>#if $average() == 'True' then 'none' else 'part'#</hide>
134
<name>Average Alpha</name>
138
<hide>#if $average() == 'True' then 'none' else 'all'#</hide>
141
<name>Show Gauge</name>
142
<key>show_gauge</key>
155
<name>Grid Position</name>
158
<type>grid_pos</type>
161
<name>Notebook</name>
164
<type>notebook</type>
171
Set Average Alpha to 0 for automatic setting.
173
Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.
175
Use the Notebook Param (notebook-id, page-index) to place the graphical element inside of a notebook page.
177
Incoming numbers are multiplied by the factor, and then added-to by the reference level.