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>scopesink2.$(type.fcn)(
15 sample_rate=$samp_rate,
20 num_inputs=$num_inputs,
22 #set $grid_pos = $grid_pos()
24 self.Add(self.$(id).win)
26 self.GridAdd(self.$(id).win, $grid_pos[0], $grid_pos[1], $grid_pos[2], $grid_pos[3])
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>
111 <check>not $xy_mode or '$type' == 'complex' or $num_inputs != 1</check>
115 <nports>$num_inputs</nports>
118 Set the V Scale to 0 for the scope to auto-scale.
120 Set the T Scale to 0 for automatic setting.
122 XY Mode allows the scope to initialize as an XY plotter.
124 Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.