summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-18 15:55:38 -0400
committerTom Rondeau <trondeau@vt.edu>2013-03-18 16:47:15 -0400
commitc856fe0106bcbcad871452014af2eb459a32e916 (patch)
tree4b7c3fa9cc5064edc4a36ca0de6c0d15c6a385ac /gr-howto-write-a-block
parent1b10a63a952612858a5e44321b6babf1d0232b52 (diff)
wxgui: Moved oscope and histogram bases into wxgui.
This makes gr-wxgui more like a normal component that generates a libgnuradio-wxgui.so file.
Diffstat (limited to 'gr-howto-write-a-block')
-rw-r--r--gr-howto-write-a-block/apps/howto_square.grc4
-rwxr-xr-xgr-howto-write-a-block/apps/howto_square.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-howto-write-a-block/apps/howto_square.grc b/gr-howto-write-a-block/apps/howto_square.grc
index ee2c8db271..0eea15426c 100644
--- a/gr-howto-write-a-block/apps/howto_square.grc
+++ b/gr-howto-write-a-block/apps/howto_square.grc
@@ -143,7 +143,7 @@
</param>
<param>
<key>trig_mode</key>
- <value>gr.gr_TRIG_MODE_AUTO</value>
+ <value>wxgui.TRIG_MODE_AUTO</value>
</param>
<param>
<key>y_axis_label</key>
@@ -303,7 +303,7 @@
</param>
<param>
<key>trig_mode</key>
- <value>gr.gr_TRIG_MODE_AUTO</value>
+ <value>wxgui.TRIG_MODE_AUTO</value>
</param>
<param>
<key>y_axis_label</key>
diff --git a/gr-howto-write-a-block/apps/howto_square.py b/gr-howto-write-a-block/apps/howto_square.py
index 4a9bfe3f8e..818e776232 100755
--- a/gr-howto-write-a-block/apps/howto_square.py
+++ b/gr-howto-write-a-block/apps/howto_square.py
@@ -42,7 +42,7 @@ class howto_square(grc_wxgui.top_block_gui):
ac_couple=False,
xy_mode=False,
num_inputs=1,
- trig_mode=gr.gr_TRIG_MODE_AUTO,
+ trig_mode=wxgui.TRIG_MODE_AUTO,
y_axis_label="Counts",
)
self.Add(self.sink2.win)
@@ -56,7 +56,7 @@ class howto_square(grc_wxgui.top_block_gui):
ac_couple=False,
xy_mode=False,
num_inputs=1,
- trig_mode=gr.gr_TRIG_MODE_AUTO,
+ trig_mode=wxgui.TRIG_MODE_AUTO,
y_axis_label="Counts",
)
self.Add(self.sink.win)