From f0537a7da4571bd6aaab273a0588eaef04121648 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 21 Jan 2011 15:20:45 -0800 Subject: grc: moved wxgui blocks and python into gr-wxgui/grc Prefixed wxgui blocks with WX GUI in the block names. Added category to wxgui variables blocks (not in the main block tree.xml) --- grc/blocks/wxgui_scopesink2.xml | 186 ---------------------------------------- 1 file changed, 186 deletions(-) delete mode 100644 grc/blocks/wxgui_scopesink2.xml (limited to 'grc/blocks/wxgui_scopesink2.xml') diff --git a/grc/blocks/wxgui_scopesink2.xml b/grc/blocks/wxgui_scopesink2.xml deleted file mode 100644 index ef0377373..000000000 --- a/grc/blocks/wxgui_scopesink2.xml +++ /dev/null @@ -1,186 +0,0 @@ - - - - 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, - v_offset=$v_offset, - t_scale=$t_scale, - ac_couple=$ac_couple, - xy_mode=$xy_mode, - num_inputs=$num_inputs, - trig_mode=$trig_mode, - y_axis_label=$y_axis_label, -#if $win_size() - size=$win_size, -#end if -) -#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 - #if $v_scale() then 'none' else 'part'# - - - V Offset - v_offset - 0 - real - #if $v_offset() then 'none' else 'part'# - - - T Scale - t_scale - 0 - real - #if $t_scale() then 'none' else 'part'# - - - AC Couple - ac_couple - False - bool - #if $ac_couple() then 'none' else 'part'# - - - - - XY Mode - xy_mode - False - enum - #if $xy_mode() == 'True' then 'none' else 'part'# - - - - - Num Inputs - num_inputs - 1 - int - - - Window Size - win_size - - int_vector - #if $win_size() then 'none' else 'part'# - - - Grid Position - grid_pos - - grid_pos - - - Notebook - notebook - - notebook - - - Trigger Mode - trig_mode - enum - - - - - - - Y Axis Label - y_axis_label - Counts - string - - not $win_size or len($win_size) == 2 - 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. - -Leave the window blank for the default size, otherwise enter a tuple of (width, height) pixels. - -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. - - -- cgit