Scope Sinkwxgui_scopesink2from gnuradio.wxgui import scopesink2from gnuradio import grscopesink2.$(type.fcn)(
self.GetWin(),
title=$title,
sample_rate=$samp_rate,
frame_decim=$frame_decim,
#if $v_scale.eval == 0
v_scale=None,
#else
v_scale=$v_scale,
#end if
t_scale=$t_scale,
num_inputs=$num_inputs,
)
self.$(id).win.$(marker)()
#set $grid_pos = $grid_pos.eval
#if not grid_pos
self.Add(self.$(id).win)
#else
self.GridAdd(self.$(id).win, $grid_pos[0], $grid_pos[1], $grid_pos[2], $grid_pos[3])
#end ifset_sample_rate($samp_rate)TypetypecomplexenumTitletitleScope PlotstringSample Ratesamp_ratesamp_raterealFrame Decimationframe_decim15intV Scalev_scale0realT Scalet_scale.001realMarkermarkerset_format_lineenumNum Inputsnum_inputs1intGrid Positiongrid_posgrid_posin$type$num_inputs
Set the V Scale to 0 for the scope to auto-scale.
Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.