diff options
author | Marcus Leech | 2010-10-17 17:20:04 -0400 |
---|---|---|
committer | Tom Rondeau | 2010-10-17 17:20:04 -0400 |
commit | dd74b98a42f5e79c4d464cfa745b3f8af51e486e (patch) | |
tree | 0a6639212e1e9ac8f06e0745503310a8ca0bbe48 /grc/blocks/wxgui_scopesink2.xml | |
parent | b03f921273423dddc5c8b76d6ab0cfcfe80123a3 (diff) | |
download | gnuradio-dd74b98a42f5e79c4d464cfa745b3f8af51e486e.tar.gz gnuradio-dd74b98a42f5e79c4d464cfa745b3f8af51e486e.tar.bz2 gnuradio-dd74b98a42f5e79c4d464cfa745b3f8af51e486e.zip |
Adds a new parameter "y_axis_label" to scopesink2 and the GRC .xml file that contains the string for the Y axis label. It defaults to 'Counts' to be consistent with the old version.
Diffstat (limited to 'grc/blocks/wxgui_scopesink2.xml')
-rw-r--r-- | grc/blocks/wxgui_scopesink2.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/grc/blocks/wxgui_scopesink2.xml b/grc/blocks/wxgui_scopesink2.xml index 50cd977be..ef0377373 100644 --- a/grc/blocks/wxgui_scopesink2.xml +++ b/grc/blocks/wxgui_scopesink2.xml @@ -21,6 +21,7 @@ scopesink2.$(type.fcn)( 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 @@ -156,6 +157,12 @@ $(parent).GridAdd(self.$(id).win, $(', '.join(map(str, $grid_pos())))) <key>gr.gr_TRIG_MODE_STRIPCHART</key> </option> </param> + <param> + <name>Y Axis Label</name> + <key>y_axis_label</key> + <value>Counts</value> + <type>string</type> + </param> <check>not $win_size or len($win_size) == 2</check> <check>not $xy_mode or '$type' == 'complex' or $num_inputs != 1</check> <sink> |