commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 43/46: zeromq: update examples and install


From: git
Subject: [Commit-gnuradio] [gnuradio] 43/46: zeromq: update examples and install
Date: Fri, 16 May 2014 19:37:17 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 844867c749198e9d39d5196f214b1be77d0001a4
Author: Johnathan Corgan <address@hidden>
Date:   Tue May 13 13:20:09 2014 -0700

    zeromq: update examples and install
---
 gr-zeromq/examples/CMakeLists.txt      |   5 +-
 gr-zeromq/examples/zeromq_pubsub.grc   | 194 +++++++++++-----------
 gr-zeromq/examples/zeromq_pushpull.grc | 288 ++++++++++++++++-----------------
 gr-zeromq/examples/zeromq_reqrep.grc   | 260 +++++++++++++++--------------
 4 files changed, 369 insertions(+), 378 deletions(-)

diff --git a/gr-zeromq/examples/CMakeLists.txt 
b/gr-zeromq/examples/CMakeLists.txt
index 926ed90..f6730ce 100644
--- a/gr-zeromq/examples/CMakeLists.txt
+++ b/gr-zeromq/examples/CMakeLists.txt
@@ -20,7 +20,10 @@
 include(GrPython)
 
 # Base stuff
-GR_PYTHON_INSTALL(PROGRAMS
+INSTALL(FILES
+    zeromq_pubsub.grc
+    zeromq_pushpull.grc
+    zeromq_reqrep.grc
     DESTINATION ${GR_PKG_ZEROMQ_EXAMPLES_DIR}
     COMPONENT "zeromq_python"
 )
diff --git a/gr-zeromq/examples/zeromq_pubsub.grc 
b/gr-zeromq/examples/zeromq_pubsub.grc
index ffa349e..2b50b9f 100644
--- a/gr-zeromq/examples/zeromq_pubsub.grc
+++ b/gr-zeromq/examples/zeromq_pubsub.grc
@@ -1,59 +1,55 @@
 <?xml version='1.0' encoding='ASCII'?>
 <flow_graph>
-  <timestamp>Tue May 13 16:24:39 2014</timestamp>
+  <timestamp>Tue May 13 13:09:21 2014</timestamp>
   <block>
-    <key>options</key>
+    <key>analog_sig_source_x</key>
     <param>
       <key>id</key>
-      <value>top_block</value>
+      <value>analog_sig_source_x_0</value>
     </param>
     <param>
       <key>_enabled</key>
       <value>True</value>
     </param>
     <param>
-      <key>title</key>
-      <value></value>
-    </param>
-    <param>
-      <key>author</key>
-      <value></value>
+      <key>type</key>
+      <value>complex</value>
     </param>
     <param>
-      <key>description</key>
-      <value></value>
+      <key>samp_rate</key>
+      <value>samp_rate</value>
     </param>
     <param>
-      <key>window_size</key>
-      <value>1280, 1024</value>
+      <key>waveform</key>
+      <value>analog.GR_TRI_WAVE</value>
     </param>
     <param>
-      <key>generate_options</key>
-      <value>wx_gui</value>
+      <key>freq</key>
+      <value>2000</value>
     </param>
     <param>
-      <key>category</key>
-      <value>Custom</value>
+      <key>amp</key>
+      <value>1</value>
     </param>
     <param>
-      <key>run_options</key>
-      <value>prompt</value>
+      <key>offset</key>
+      <value>0</value>
     </param>
     <param>
-      <key>run</key>
-      <value>True</value>
+      <key>affinity</key>
+      <value></value>
     </param>
     <param>
-      <key>max_nouts</key>
+      <key>minoutbuf</key>
       <value>0</value>
     </param>
     <param>
-      <key>realtime_scheduling</key>
-      <value></value>
+      <key>maxoutbuf</key>
+      <value>0</value>
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(10, 10)</value>
+      <value>(170, 78)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -84,10 +80,10 @@
     </param>
   </block>
   <block>
-    <key>analog_sig_source_x</key>
+    <key>blocks_add_xx</key>
     <param>
       <key>id</key>
-      <value>analog_sig_source_x_0</value>
+      <value>blocks_add_xx_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -98,26 +94,14 @@
       <value>complex</value>
     </param>
     <param>
-      <key>samp_rate</key>
-      <value>samp_rate</value>
-    </param>
-    <param>
-      <key>waveform</key>
-      <value>analog.GR_TRI_WAVE</value>
-    </param>
-    <param>
-      <key>freq</key>
-      <value>2000</value>
+      <key>num_inputs</key>
+      <value>2</value>
     </param>
     <param>
-      <key>amp</key>
+      <key>vlen</key>
       <value>1</value>
     </param>
     <param>
-      <key>offset</key>
-      <value>0</value>
-    </param>
-    <param>
       <key>affinity</key>
       <value></value>
     </param>
@@ -131,7 +115,7 @@
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(170, 78)</value>
+      <value>(417, 156)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -139,10 +123,10 @@
     </param>
   </block>
   <block>
-    <key>analog_fastnoise_source_x</key>
+    <key>blocks_throttle</key>
     <param>
       <key>id</key>
-      <value>analog_fastnoise_source_x_0</value>
+      <value>blocks_throttle_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -153,20 +137,16 @@
       <value>complex</value>
     </param>
     <param>
-      <key>noise_type</key>
-      <value>analog.GR_GAUSSIAN</value>
+      <key>samples_per_second</key>
+      <value>samp_rate</value>
     </param>
     <param>
-      <key>amp</key>
+      <key>vlen</key>
       <value>1</value>
     </param>
     <param>
-      <key>seed</key>
-      <value>0</value>
-    </param>
-    <param>
-      <key>samples</key>
-      <value>8192</value>
+      <key>ignoretag</key>
+      <value>True</value>
     </param>
     <param>
       <key>affinity</key>
@@ -182,7 +162,7 @@
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(169, 196)</value>
+      <value>(536, 169)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -190,10 +170,10 @@
     </param>
   </block>
   <block>
-    <key>blocks_add_xx</key>
+    <key>zeromq_pub_sink</key>
     <param>
       <key>id</key>
-      <value>blocks_add_xx_0</value>
+      <value>zeromq_pub_sink_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -204,28 +184,24 @@
       <value>complex</value>
     </param>
     <param>
-      <key>num_inputs</key>
-      <value>2</value>
-    </param>
-    <param>
       <key>vlen</key>
       <value>1</value>
     </param>
     <param>
-      <key>affinity</key>
-      <value></value>
+      <key>address</key>
+      <value>tcp://127.0.0.1:5555</value>
     </param>
     <param>
-      <key>minoutbuf</key>
-      <value>0</value>
+      <key>timeout</key>
+      <value>100</value>
     </param>
     <param>
-      <key>maxoutbuf</key>
-      <value>0</value>
+      <key>affinity</key>
+      <value></value>
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(403, 116)</value>
+      <value>(723, 153)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -233,10 +209,10 @@
     </param>
   </block>
   <block>
-    <key>blocks_throttle</key>
+    <key>analog_fastnoise_source_x</key>
     <param>
       <key>id</key>
-      <value>blocks_throttle_0</value>
+      <value>analog_fastnoise_source_x_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -247,16 +223,20 @@
       <value>complex</value>
     </param>
     <param>
-      <key>samples_per_second</key>
-      <value>samp_rate</value>
+      <key>noise_type</key>
+      <value>analog.GR_GAUSSIAN</value>
     </param>
     <param>
-      <key>vlen</key>
-      <value>1</value>
+      <key>amp</key>
+      <value>0.1</value>
     </param>
     <param>
-      <key>ignoretag</key>
-      <value>True</value>
+      <key>seed</key>
+      <value>0</value>
+    </param>
+    <param>
+      <key>samples</key>
+      <value>8192</value>
     </param>
     <param>
       <key>affinity</key>
@@ -272,7 +252,7 @@
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(537, 114)</value>
+      <value>(169, 196)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -280,10 +260,10 @@
     </param>
   </block>
   <block>
-    <key>zeromq_pub_sink</key>
+    <key>zeromq_sub_source</key>
     <param>
       <key>id</key>
-      <value>zeromq_pub_sink_0</value>
+      <value>zeromq_sub_source_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -310,8 +290,16 @@
       <value></value>
     </param>
     <param>
+      <key>minoutbuf</key>
+      <value>0</value>
+    </param>
+    <param>
+      <key>maxoutbuf</key>
+      <value>0</value>
+    </param>
+    <param>
       <key>_coordinate</key>
-      <value>(801, 142)</value>
+      <value>(185, 327)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -390,7 +378,7 @@
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(696, 407)</value>
+      <value>(444, 319)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -398,46 +386,58 @@
     </param>
   </block>
   <block>
-    <key>zeromq_sub_source</key>
+    <key>options</key>
     <param>
       <key>id</key>
-      <value>zeromq_sub_source_0</value>
+      <value>zeromq_pubsub</value>
     </param>
     <param>
       <key>_enabled</key>
       <value>True</value>
     </param>
     <param>
-      <key>type</key>
-      <value>complex</value>
+      <key>title</key>
+      <value></value>
     </param>
     <param>
-      <key>vlen</key>
-      <value>1</value>
+      <key>author</key>
+      <value></value>
     </param>
     <param>
-      <key>address</key>
-      <value>tcp://127.0.0.1:5555</value>
+      <key>description</key>
+      <value></value>
     </param>
     <param>
-      <key>timeout</key>
-      <value>100</value>
+      <key>window_size</key>
+      <value>1280, 1024</value>
     </param>
     <param>
-      <key>affinity</key>
-      <value></value>
+      <key>generate_options</key>
+      <value>wx_gui</value>
     </param>
     <param>
-      <key>minoutbuf</key>
-      <value>0</value>
+      <key>category</key>
+      <value>Custom</value>
     </param>
     <param>
-      <key>maxoutbuf</key>
+      <key>run_options</key>
+      <value>prompt</value>
+    </param>
+    <param>
+      <key>run</key>
+      <value>True</value>
+    </param>
+    <param>
+      <key>max_nouts</key>
       <value>0</value>
     </param>
     <param>
+      <key>realtime_scheduling</key>
+      <value></value>
+    </param>
+    <param>
       <key>_coordinate</key>
-      <value>(263, 406)</value>
+      <value>(10, 10)</value>
     </param>
     <param>
       <key>_rotation</key>
diff --git a/gr-zeromq/examples/zeromq_pushpull.grc 
b/gr-zeromq/examples/zeromq_pushpull.grc
index d608fcb..b087a51 100644
--- a/gr-zeromq/examples/zeromq_pushpull.grc
+++ b/gr-zeromq/examples/zeromq_pushpull.grc
@@ -1,59 +1,55 @@
 <?xml version='1.0' encoding='ASCII'?>
 <flow_graph>
-  <timestamp>Tue May 13 15:19:02 2014</timestamp>
+  <timestamp>Tue May 13 13:11:44 2014</timestamp>
   <block>
-    <key>options</key>
+    <key>analog_sig_source_x</key>
     <param>
       <key>id</key>
-      <value>top_block</value>
+      <value>analog_sig_source_x_0</value>
     </param>
     <param>
       <key>_enabled</key>
       <value>True</value>
     </param>
     <param>
-      <key>title</key>
-      <value></value>
-    </param>
-    <param>
-      <key>author</key>
-      <value></value>
+      <key>type</key>
+      <value>complex</value>
     </param>
     <param>
-      <key>description</key>
-      <value></value>
+      <key>samp_rate</key>
+      <value>samp_rate</value>
     </param>
     <param>
-      <key>window_size</key>
-      <value>1280, 1024</value>
+      <key>waveform</key>
+      <value>analog.GR_TRI_WAVE</value>
     </param>
     <param>
-      <key>generate_options</key>
-      <value>wx_gui</value>
+      <key>freq</key>
+      <value>2000</value>
     </param>
     <param>
-      <key>category</key>
-      <value>Custom</value>
+      <key>amp</key>
+      <value>1</value>
     </param>
     <param>
-      <key>run_options</key>
-      <value>prompt</value>
+      <key>offset</key>
+      <value>0</value>
     </param>
     <param>
-      <key>run</key>
-      <value>True</value>
+      <key>affinity</key>
+      <value></value>
     </param>
     <param>
-      <key>max_nouts</key>
+      <key>minoutbuf</key>
       <value>0</value>
     </param>
     <param>
-      <key>realtime_scheduling</key>
-      <value></value>
+      <key>maxoutbuf</key>
+      <value>0</value>
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(10, 10)</value>
+      <value>(170, 78)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -84,10 +80,10 @@
     </param>
   </block>
   <block>
-    <key>wxgui_scopesink2</key>
+    <key>blocks_add_xx</key>
     <param>
       <key>id</key>
-      <value>wxgui_scopesink2_0</value>
+      <value>blocks_add_xx_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -98,64 +94,28 @@
       <value>complex</value>
     </param>
     <param>
-      <key>title</key>
-      <value>Scope Plot</value>
-    </param>
-    <param>
-      <key>samp_rate</key>
-      <value>samp_rate</value>
-    </param>
-    <param>
-      <key>v_scale</key>
-      <value>0</value>
-    </param>
-    <param>
-      <key>v_offset</key>
-      <value>0</value>
-    </param>
-    <param>
-      <key>t_scale</key>
-      <value>0</value>
-    </param>
-    <param>
-      <key>ac_couple</key>
-      <value>False</value>
-    </param>
-    <param>
-      <key>xy_mode</key>
-      <value>False</value>
-    </param>
-    <param>
       <key>num_inputs</key>
-      <value>1</value>
-    </param>
-    <param>
-      <key>win_size</key>
-      <value></value>
+      <value>2</value>
     </param>
     <param>
-      <key>grid_pos</key>
-      <value></value>
+      <key>vlen</key>
+      <value>1</value>
     </param>
     <param>
-      <key>notebook</key>
+      <key>affinity</key>
       <value></value>
     </param>
     <param>
-      <key>trig_mode</key>
-      <value>wxgui.TRIG_MODE_AUTO</value>
-    </param>
-    <param>
-      <key>y_axis_label</key>
-      <value>Counts</value>
+      <key>minoutbuf</key>
+      <value>0</value>
     </param>
     <param>
-      <key>affinity</key>
-      <value></value>
+      <key>maxoutbuf</key>
+      <value>0</value>
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(567, 269)</value>
+      <value>(409, 144)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -163,10 +123,10 @@
     </param>
   </block>
   <block>
-    <key>analog_sig_source_x</key>
+    <key>blocks_throttle</key>
     <param>
       <key>id</key>
-      <value>analog_sig_source_x_0</value>
+      <value>blocks_throttle_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -177,24 +137,16 @@
       <value>complex</value>
     </param>
     <param>
-      <key>samp_rate</key>
+      <key>samples_per_second</key>
       <value>samp_rate</value>
     </param>
     <param>
-      <key>waveform</key>
-      <value>analog.GR_TRI_WAVE</value>
-    </param>
-    <param>
-      <key>freq</key>
-      <value>2000</value>
-    </param>
-    <param>
-      <key>amp</key>
+      <key>vlen</key>
       <value>1</value>
     </param>
     <param>
-      <key>offset</key>
-      <value>0</value>
+      <key>ignoretag</key>
+      <value>True</value>
     </param>
     <param>
       <key>affinity</key>
@@ -210,7 +162,7 @@
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(170, 78)</value>
+      <value>(529, 157)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -218,50 +170,58 @@
     </param>
   </block>
   <block>
-    <key>analog_fastnoise_source_x</key>
+    <key>options</key>
     <param>
       <key>id</key>
-      <value>analog_fastnoise_source_x_0</value>
+      <value>zeromq_pushpull</value>
     </param>
     <param>
       <key>_enabled</key>
       <value>True</value>
     </param>
     <param>
-      <key>type</key>
-      <value>complex</value>
+      <key>title</key>
+      <value></value>
     </param>
     <param>
-      <key>noise_type</key>
-      <value>analog.GR_GAUSSIAN</value>
+      <key>author</key>
+      <value></value>
     </param>
     <param>
-      <key>amp</key>
-      <value>1</value>
+      <key>description</key>
+      <value></value>
     </param>
     <param>
-      <key>seed</key>
-      <value>0</value>
+      <key>window_size</key>
+      <value>1280, 1024</value>
     </param>
     <param>
-      <key>samples</key>
-      <value>8192</value>
+      <key>generate_options</key>
+      <value>wx_gui</value>
     </param>
     <param>
-      <key>affinity</key>
-      <value></value>
+      <key>category</key>
+      <value>Custom</value>
     </param>
     <param>
-      <key>minoutbuf</key>
-      <value>0</value>
+      <key>run_options</key>
+      <value>prompt</value>
     </param>
     <param>
-      <key>maxoutbuf</key>
+      <key>run</key>
+      <value>True</value>
+    </param>
+    <param>
+      <key>max_nouts</key>
       <value>0</value>
     </param>
     <param>
+      <key>realtime_scheduling</key>
+      <value></value>
+    </param>
+    <param>
       <key>_coordinate</key>
-      <value>(169, 196)</value>
+      <value>(10, 10)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -269,10 +229,10 @@
     </param>
   </block>
   <block>
-    <key>blocks_add_xx</key>
+    <key>zeromq_push_sink</key>
     <param>
       <key>id</key>
-      <value>blocks_add_xx_0</value>
+      <value>zeromq_push_sink_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -283,28 +243,24 @@
       <value>complex</value>
     </param>
     <param>
-      <key>num_inputs</key>
-      <value>2</value>
-    </param>
-    <param>
       <key>vlen</key>
       <value>1</value>
     </param>
     <param>
-      <key>affinity</key>
-      <value></value>
+      <key>address</key>
+      <value>tcp://127.0.0.1:5555</value>
     </param>
     <param>
-      <key>minoutbuf</key>
-      <value>0</value>
+      <key>timeout</key>
+      <value>100</value>
     </param>
     <param>
-      <key>maxoutbuf</key>
-      <value>0</value>
+      <key>affinity</key>
+      <value></value>
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(403, 116)</value>
+      <value>(722, 141)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -312,10 +268,10 @@
     </param>
   </block>
   <block>
-    <key>blocks_throttle</key>
+    <key>zeromq_pull_source</key>
     <param>
       <key>id</key>
-      <value>blocks_throttle_0</value>
+      <value>zeromq_pull_source_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -326,16 +282,16 @@
       <value>complex</value>
     </param>
     <param>
-      <key>samples_per_second</key>
-      <value>samp_rate</value>
-    </param>
-    <param>
       <key>vlen</key>
       <value>1</value>
     </param>
     <param>
-      <key>ignoretag</key>
-      <value>True</value>
+      <key>address</key>
+      <value>tcp://127.0.0.1:5555</value>
+    </param>
+    <param>
+      <key>timeout</key>
+      <value>100</value>
     </param>
     <param>
       <key>affinity</key>
@@ -351,7 +307,7 @@
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(537, 114)</value>
+      <value>(167, 308)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -359,10 +315,10 @@
     </param>
   </block>
   <block>
-    <key>zeromq_push_sink</key>
+    <key>wxgui_scopesink2</key>
     <param>
       <key>id</key>
-      <value>zeromq_push_sink_0</value>
+      <value>wxgui_scopesink2_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -373,28 +329,64 @@
       <value>complex</value>
     </param>
     <param>
-      <key>vlen</key>
-      <value>1</value>
+      <key>title</key>
+      <value>Scope Plot</value>
     </param>
     <param>
-      <key>address</key>
-      <value>tcp://127.0.0.1:5555</value>
+      <key>samp_rate</key>
+      <value>samp_rate</value>
     </param>
     <param>
-      <key>timeout</key>
-      <value>100</value>
+      <key>v_scale</key>
+      <value>0</value>
+    </param>
+    <param>
+      <key>v_offset</key>
+      <value>0</value>
+    </param>
+    <param>
+      <key>t_scale</key>
+      <value>0</value>
     </param>
     <param>
-      <key>blocking</key>
+      <key>ac_couple</key>
       <value>False</value>
     </param>
     <param>
+      <key>xy_mode</key>
+      <value>False</value>
+    </param>
+    <param>
+      <key>num_inputs</key>
+      <value>1</value>
+    </param>
+    <param>
+      <key>win_size</key>
+      <value></value>
+    </param>
+    <param>
+      <key>grid_pos</key>
+      <value></value>
+    </param>
+    <param>
+      <key>notebook</key>
+      <value></value>
+    </param>
+    <param>
+      <key>trig_mode</key>
+      <value>wxgui.TRIG_MODE_AUTO</value>
+    </param>
+    <param>
+      <key>y_axis_label</key>
+      <value>Counts</value>
+    </param>
+    <param>
       <key>affinity</key>
       <value></value>
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(751, 96)</value>
+      <value>(422, 300)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -402,10 +394,10 @@
     </param>
   </block>
   <block>
-    <key>zeromq_pull_source</key>
+    <key>analog_fastnoise_source_x</key>
     <param>
       <key>id</key>
-      <value>zeromq_pull_source_0</value>
+      <value>analog_fastnoise_source_x_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -416,16 +408,20 @@
       <value>complex</value>
     </param>
     <param>
-      <key>vlen</key>
-      <value>1</value>
+      <key>noise_type</key>
+      <value>analog.GR_GAUSSIAN</value>
     </param>
     <param>
-      <key>address</key>
-      <value>tcp://127.0.0.1:5555</value>
+      <key>amp</key>
+      <value>0.1</value>
     </param>
     <param>
-      <key>timeout</key>
-      <value>100</value>
+      <key>seed</key>
+      <value>0</value>
+    </param>
+    <param>
+      <key>samples</key>
+      <value>8192</value>
     </param>
     <param>
       <key>affinity</key>
@@ -441,7 +437,7 @@
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(137, 307)</value>
+      <value>(169, 196)</value>
     </param>
     <param>
       <key>_rotation</key>
diff --git a/gr-zeromq/examples/zeromq_reqrep.grc 
b/gr-zeromq/examples/zeromq_reqrep.grc
index 63bb053..ede0e1b 100644
--- a/gr-zeromq/examples/zeromq_reqrep.grc
+++ b/gr-zeromq/examples/zeromq_reqrep.grc
@@ -1,59 +1,55 @@
 <?xml version='1.0' encoding='ASCII'?>
 <flow_graph>
-  <timestamp>Fri May  9 15:00:53 2014</timestamp>
+  <timestamp>Tue May 13 13:12:52 2014</timestamp>
   <block>
-    <key>options</key>
+    <key>analog_sig_source_x</key>
     <param>
       <key>id</key>
-      <value>top_block</value>
+      <value>analog_sig_source_x_0</value>
     </param>
     <param>
       <key>_enabled</key>
       <value>True</value>
     </param>
     <param>
-      <key>title</key>
-      <value></value>
-    </param>
-    <param>
-      <key>author</key>
-      <value></value>
+      <key>type</key>
+      <value>complex</value>
     </param>
     <param>
-      <key>description</key>
-      <value></value>
+      <key>samp_rate</key>
+      <value>samp_rate</value>
     </param>
     <param>
-      <key>window_size</key>
-      <value>1280, 1024</value>
+      <key>waveform</key>
+      <value>analog.GR_TRI_WAVE</value>
     </param>
     <param>
-      <key>generate_options</key>
-      <value>wx_gui</value>
+      <key>freq</key>
+      <value>2000</value>
     </param>
     <param>
-      <key>category</key>
-      <value>Custom</value>
+      <key>amp</key>
+      <value>1</value>
     </param>
     <param>
-      <key>run_options</key>
-      <value>prompt</value>
+      <key>offset</key>
+      <value>0</value>
     </param>
     <param>
-      <key>run</key>
-      <value>True</value>
+      <key>affinity</key>
+      <value></value>
     </param>
     <param>
-      <key>max_nouts</key>
+      <key>minoutbuf</key>
       <value>0</value>
     </param>
     <param>
-      <key>realtime_scheduling</key>
-      <value></value>
+      <key>maxoutbuf</key>
+      <value>0</value>
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(10, 10)</value>
+      <value>(170, 78)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -84,10 +80,10 @@
     </param>
   </block>
   <block>
-    <key>analog_sig_source_x</key>
+    <key>zeromq_req_source</key>
     <param>
       <key>id</key>
-      <value>analog_sig_source_x_0</value>
+      <value>zeromq_req_source_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -98,24 +94,16 @@
       <value>complex</value>
     </param>
     <param>
-      <key>samp_rate</key>
-      <value>samp_rate</value>
-    </param>
-    <param>
-      <key>waveform</key>
-      <value>analog.GR_TRI_WAVE</value>
-    </param>
-    <param>
-      <key>freq</key>
-      <value>2000</value>
+      <key>vlen</key>
+      <value>1</value>
     </param>
     <param>
-      <key>amp</key>
-      <value>1</value>
+      <key>address</key>
+      <value>tcp://127.0.0.1:5555</value>
     </param>
     <param>
-      <key>offset</key>
-      <value>0</value>
+      <key>timeout</key>
+      <value>100</value>
     </param>
     <param>
       <key>affinity</key>
@@ -131,7 +119,7 @@
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(170, 78)</value>
+      <value>(171, 306)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -139,10 +127,10 @@
     </param>
   </block>
   <block>
-    <key>analog_fastnoise_source_x</key>
+    <key>wxgui_scopesink2</key>
     <param>
       <key>id</key>
-      <value>analog_fastnoise_source_x_0</value>
+      <value>wxgui_scopesink2_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -153,36 +141,64 @@
       <value>complex</value>
     </param>
     <param>
-      <key>noise_type</key>
-      <value>analog.GR_GAUSSIAN</value>
+      <key>title</key>
+      <value>Scope Plot</value>
     </param>
     <param>
-      <key>amp</key>
-      <value>1</value>
+      <key>samp_rate</key>
+      <value>samp_rate</value>
     </param>
     <param>
-      <key>seed</key>
+      <key>v_scale</key>
       <value>0</value>
     </param>
     <param>
-      <key>samples</key>
-      <value>8192</value>
+      <key>v_offset</key>
+      <value>0</value>
     </param>
     <param>
-      <key>affinity</key>
+      <key>t_scale</key>
+      <value>0</value>
+    </param>
+    <param>
+      <key>ac_couple</key>
+      <value>False</value>
+    </param>
+    <param>
+      <key>xy_mode</key>
+      <value>False</value>
+    </param>
+    <param>
+      <key>num_inputs</key>
+      <value>1</value>
+    </param>
+    <param>
+      <key>win_size</key>
       <value></value>
     </param>
     <param>
-      <key>minoutbuf</key>
-      <value>0</value>
+      <key>grid_pos</key>
+      <value></value>
     </param>
     <param>
-      <key>maxoutbuf</key>
-      <value>0</value>
+      <key>notebook</key>
+      <value></value>
+    </param>
+    <param>
+      <key>trig_mode</key>
+      <value>wxgui.TRIG_MODE_AUTO</value>
+    </param>
+    <param>
+      <key>y_axis_label</key>
+      <value>Counts</value>
+    </param>
+    <param>
+      <key>affinity</key>
+      <value></value>
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(169, 196)</value>
+      <value>(450, 298)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -225,7 +241,7 @@
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(403, 116)</value>
+      <value>(411, 151)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -233,46 +249,58 @@
     </param>
   </block>
   <block>
-    <key>blocks_throttle</key>
+    <key>options</key>
     <param>
       <key>id</key>
-      <value>blocks_throttle_0</value>
+      <value>zeromq_reqrep</value>
     </param>
     <param>
       <key>_enabled</key>
       <value>True</value>
     </param>
     <param>
-      <key>type</key>
-      <value>complex</value>
+      <key>title</key>
+      <value></value>
     </param>
     <param>
-      <key>samples_per_second</key>
-      <value>samp_rate</value>
+      <key>author</key>
+      <value></value>
     </param>
     <param>
-      <key>vlen</key>
-      <value>1</value>
+      <key>description</key>
+      <value></value>
     </param>
     <param>
-      <key>ignoretag</key>
-      <value>True</value>
+      <key>window_size</key>
+      <value>1280, 1024</value>
     </param>
     <param>
-      <key>affinity</key>
-      <value></value>
+      <key>generate_options</key>
+      <value>wx_gui</value>
     </param>
     <param>
-      <key>minoutbuf</key>
-      <value>0</value>
+      <key>category</key>
+      <value>Custom</value>
     </param>
     <param>
-      <key>maxoutbuf</key>
+      <key>run_options</key>
+      <value>prompt</value>
+    </param>
+    <param>
+      <key>run</key>
+      <value>True</value>
+    </param>
+    <param>
+      <key>max_nouts</key>
       <value>0</value>
     </param>
     <param>
+      <key>realtime_scheduling</key>
+      <value></value>
+    </param>
+    <param>
       <key>_coordinate</key>
-      <value>(537, 114)</value>
+      <value>(10, 10)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -280,10 +308,10 @@
     </param>
   </block>
   <block>
-    <key>wxgui_scopesink2</key>
+    <key>blocks_throttle</key>
     <param>
       <key>id</key>
-      <value>wxgui_scopesink2_0</value>
+      <value>blocks_throttle_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -294,64 +322,32 @@
       <value>complex</value>
     </param>
     <param>
-      <key>title</key>
-      <value>Scope Plot</value>
-    </param>
-    <param>
-      <key>samp_rate</key>
+      <key>samples_per_second</key>
       <value>samp_rate</value>
     </param>
     <param>
-      <key>v_scale</key>
-      <value>0</value>
-    </param>
-    <param>
-      <key>v_offset</key>
-      <value>0</value>
-    </param>
-    <param>
-      <key>t_scale</key>
-      <value>0</value>
-    </param>
-    <param>
-      <key>ac_couple</key>
-      <value>False</value>
-    </param>
-    <param>
-      <key>xy_mode</key>
-      <value>False</value>
-    </param>
-    <param>
-      <key>num_inputs</key>
+      <key>vlen</key>
       <value>1</value>
     </param>
     <param>
-      <key>win_size</key>
-      <value></value>
-    </param>
-    <param>
-      <key>grid_pos</key>
-      <value></value>
+      <key>ignoretag</key>
+      <value>True</value>
     </param>
     <param>
-      <key>notebook</key>
+      <key>affinity</key>
       <value></value>
     </param>
     <param>
-      <key>trig_mode</key>
-      <value>wxgui.TRIG_MODE_AUTO</value>
-    </param>
-    <param>
-      <key>y_axis_label</key>
-      <value>Counts</value>
+      <key>minoutbuf</key>
+      <value>0</value>
     </param>
     <param>
-      <key>affinity</key>
-      <value></value>
+      <key>maxoutbuf</key>
+      <value>0</value>
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(587, 307)</value>
+      <value>(534, 164)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -385,16 +381,12 @@
       <value>100</value>
     </param>
     <param>
-      <key>blocking</key>
-      <value>True</value>
-    </param>
-    <param>
       <key>affinity</key>
       <value></value>
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(732, 92)</value>
+      <value>(722, 148)</value>
     </param>
     <param>
       <key>_rotation</key>
@@ -402,10 +394,10 @@
     </param>
   </block>
   <block>
-    <key>zeromq_req_source</key>
+    <key>analog_fastnoise_source_x</key>
     <param>
       <key>id</key>
-      <value>zeromq_req_source_0</value>
+      <value>analog_fastnoise_source_x_0</value>
     </param>
     <param>
       <key>_enabled</key>
@@ -416,20 +408,20 @@
       <value>complex</value>
     </param>
     <param>
-      <key>vlen</key>
-      <value>1</value>
+      <key>noise_type</key>
+      <value>analog.GR_GAUSSIAN</value>
     </param>
     <param>
-      <key>address</key>
-      <value>tcp://127.0.0.1:5555</value>
+      <key>amp</key>
+      <value>0.1</value>
     </param>
     <param>
-      <key>timeout</key>
-      <value>100</value>
+      <key>seed</key>
+      <value>0</value>
     </param>
     <param>
-      <key>blocking</key>
-      <value>True</value>
+      <key>samples</key>
+      <value>8192</value>
     </param>
     <param>
       <key>affinity</key>
@@ -445,7 +437,7 @@
     </param>
     <param>
       <key>_coordinate</key>
-      <value>(277, 327)</value>
+      <value>(169, 196)</value>
     </param>
     <param>
       <key>_rotation</key>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]