3 ###################################################
5 ###################################################
8 <name>Scope Sink</name>
9 <key>wxgui_scopesink2</key>
10 <import>from gnuradio.wxgui import scopesink2</import>
11 <import>from gnuradio import gr</import>
12 <make>#set $parent = $notebook() and 'self.%s.GetPage(%s)'%$notebook() or 'self'
13 scopesink2.$(type.fcn)(
16 sample_rate=$samp_rate,
21 num_inputs=$num_inputs,
24 $(parent).Add(self.$(id).win)
26 $(parent).GridAdd(self.$(id).win, $(', '.join(map(str, $grid_pos()))))
28 <callback>set_sample_rate($samp_rate)</callback>
32 <value>complex</value>
37 <opt>fcn:scope_sink_c</opt>
42 <opt>fcn:scope_sink_f</opt>
48 <value>Scope Plot</value>
52 <name>Sample Rate</name>
54 <value>samp_rate</value>
70 <name>AC Couple</name>
74 <hide>#if $ac_couple() == 'True' then 'none' else 'part'#</hide>
89 <hide>#if $xy_mode() == 'True' then 'none' else 'part'#</hide>
100 <name>Num Inputs</name>
101 <key>num_inputs</key>
106 <name>Grid Position</name>
109 <type>grid_pos</type>
112 <name>Notebook</name>
115 <type>notebook</type>
117 <check>not $xy_mode or '$type' == 'complex' or $num_inputs != 1</check>
121 <nports>$num_inputs</nports>
124 Set the V Scale to 0 for the scope to auto-scale.
126 Set the T Scale to 0 for automatic setting.
128 XY Mode allows the scope to initialize as an XY plotter.
130 Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.
132 Use the Notebook Param (notebook-id, page-index) to place the graphical element inside of a notebook page.