Scope Sink wxgui_scopesink2 from gnuradio.wxgui import scopesink2 from gnuradio import gr #set $parent = $notebook() and 'self.%s.GetPage(%s)'%$notebook() or 'self' scopesink2.$(type.fcn)( $(parent).GetWin(), title=$title, sample_rate=$samp_rate, v_scale=$v_scale, t_scale=$t_scale, ac_couple=$ac_couple, xy_mode=$xy_mode, num_inputs=$num_inputs, ) #if not $grid_pos() $(parent).Add(self.$(id).win) #else $(parent).GridAdd(self.$(id).win, $(', '.join(map(str, $grid_pos())))) #end if set_sample_rate($samp_rate) Type type complex enum Title title Scope Plot string Sample Rate samp_rate samp_rate real V Scale v_scale 0 real T Scale t_scale 0 real AC Couple ac_couple False enum #if $ac_couple() == 'True' then 'none' else 'part'# XY Mode xy_mode False enum #if $xy_mode() == 'True' then 'none' else 'part'# Num Inputs num_inputs 1 int Grid Position grid_pos grid_pos Notebook notebook notebook not $xy_mode or '$type' == 'complex' or $num_inputs != 1 in $type $num_inputs Set the V Scale to 0 for the scope to auto-scale. Set the T Scale to 0 for automatic setting. XY Mode allows the scope to initialize as an XY plotter. Use the Grid Position (row, column, row span, column span) to position the graphical element in the window. Use the Notebook Param (notebook-id, page-index) to place the graphical element inside of a notebook page.