summaryrefslogtreecommitdiff
path: root/grc/examples/usrp
diff options
context:
space:
mode:
authorjblum2008-09-09 05:46:45 +0000
committerjblum2008-09-09 05:46:45 +0000
commita6aa6eb21209cf3004381c0c9f98b303929dac7a (patch)
tree4799690087869e655a19ad544828eb7fd67e0933 /grc/examples/usrp
parent202d13adec25b771faa9e20531740c6ff771c444 (diff)
downloadgnuradio-a6aa6eb21209cf3004381c0c9f98b303929dac7a.tar.gz
gnuradio-a6aa6eb21209cf3004381c0c9f98b303929dac7a.tar.bz2
gnuradio-a6aa6eb21209cf3004381c0c9f98b303929dac7a.zip
show/hide param logic, usrp loopback example - neg freq
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9541 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/examples/usrp')
-rw-r--r--grc/examples/usrp/usrp_two_tone_loopback.grc247
1 files changed, 108 insertions, 139 deletions
diff --git a/grc/examples/usrp/usrp_two_tone_loopback.grc b/grc/examples/usrp/usrp_two_tone_loopback.grc
index ccbe190ec..30f5409b3 100644
--- a/grc/examples/usrp/usrp_two_tone_loopback.grc
+++ b/grc/examples/usrp/usrp_two_tone_loopback.grc
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
- <timestamp>Thu Jul 24 14:27:46 2008</timestamp>
+ <timestamp>Mon Sep 8 21:47:19 2008</timestamp>
<block>
<key>options</key>
<param>
@@ -312,46 +312,22 @@
</param>
</block>
<block>
- <key>variable_slider</key>
+ <key>variable</key>
<param>
<key>id</key>
- <value>tone_ampl</value>
+ <value>samp_rate</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
- <key>label</key>
- <value>Tone Ampl</value>
- </param>
- <param>
<key>value</key>
- <value>5000</value>
- </param>
- <param>
- <key>min</key>
- <value>0</value>
- </param>
- <param>
- <key>max</key>
- <value>5000</value>
- </param>
- <param>
- <key>num_steps</key>
- <value>100</value>
- </param>
- <param>
- <key>slider_type</key>
- <value>vertical</value>
- </param>
- <param>
- <key>grid_pos</key>
- <value>1, 0, 2, 1</value>
+ <value>64e6/200</value>
</param>
<param>
<key>_coordinate</key>
- <value>(21, 422)</value>
+ <value>(9, 166)</value>
</param>
<param>
<key>_rotation</key>
@@ -359,104 +335,22 @@
</param>
</block>
<block>
- <key>usrp_simple_sink_x</key>
+ <key>variable</key>
<param>
<key>id</key>
- <value>usrp_simple_sink_x</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>type</key>
- <value>complex</value>
- </param>
- <param>
- <key>number</key>
- <value>0</value>
- </param>
- <param>
- <key>subdev_spec</key>
- <value>None</value>
- </param>
- <param>
- <key>frequency</key>
<value>tun_freq</value>
</param>
<param>
- <key>interpolation</key>
- <value>400</value>
- </param>
- <param>
- <key>gain</key>
- <value>0</value>
- </param>
- <param>
- <key>mux</key>
- <value>0x0</value>
- </param>
- <param>
- <key>auto_tr</key>
- <value>None</value>
- </param>
- <param>
- <key>tx_enb</key>
- <value>None</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(835, 5)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- </block>
- <block>
- <key>gr_float_to_complex</key>
- <param>
- <key>id</key>
- <value>gr_float_to_complex</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(634, 226)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- </block>
- <block>
- <key>gr_add_vxx</key>
- <param>
- <key>id</key>
- <value>gr_add_vxx</value>
- </param>
- <param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
- <key>type</key>
- <value>float</value>
- </param>
- <param>
- <key>num_inputs</key>
- <value>3</value>
- </param>
- <param>
- <key>vlen</key>
- <value>1</value>
+ <key>value</key>
+ <value>int(100e6)</value>
</param>
<param>
<key>_coordinate</key>
- <value>(528, 78)</value>
+ <value>(116, 166)</value>
</param>
<param>
<key>_rotation</key>
@@ -475,7 +369,7 @@
</param>
<param>
<key>type</key>
- <value>float</value>
+ <value>complex</value>
</param>
<param>
<key>samp_rate</key>
@@ -518,7 +412,7 @@
</param>
<param>
<key>type</key>
- <value>float</value>
+ <value>complex</value>
</param>
<param>
<key>samp_rate</key>
@@ -561,7 +455,7 @@
</param>
<param>
<key>type</key>
- <value>float</value>
+ <value>complex</value>
</param>
<param>
<key>noise_type</key>
@@ -585,22 +479,30 @@
</param>
</block>
<block>
- <key>variable</key>
+ <key>gr_add_vxx</key>
<param>
<key>id</key>
- <value>samp_rate</value>
+ <value>gr_add_vxx</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
- <key>value</key>
- <value>64e6/200</value>
+ <key>type</key>
+ <value>complex</value>
+ </param>
+ <param>
+ <key>num_inputs</key>
+ <value>3</value>
+ </param>
+ <param>
+ <key>vlen</key>
+ <value>1</value>
</param>
<param>
<key>_coordinate</key>
- <value>(9, 166)</value>
+ <value>(528, 78)</value>
</param>
<param>
<key>_rotation</key>
@@ -608,22 +510,101 @@
</param>
</block>
<block>
- <key>variable</key>
+ <key>usrp_simple_sink_x</key>
<param>
<key>id</key>
+ <value>usrp_simple_sink_x</value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>type</key>
+ <value>complex</value>
+ </param>
+ <param>
+ <key>number</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>subdev_spec</key>
+ <value>None</value>
+ </param>
+ <param>
+ <key>frequency</key>
<value>tun_freq</value>
</param>
<param>
+ <key>interpolation</key>
+ <value>400</value>
+ </param>
+ <param>
+ <key>gain</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>mux</key>
+ <value>0x0</value>
+ </param>
+ <param>
+ <key>auto_tr</key>
+ <value>None</value>
+ </param>
+ <param>
+ <key>tx_enb</key>
+ <value>None</value>
+ </param>
+ <param>
+ <key>_coordinate</key>
+ <value>(835, 5)</value>
+ </param>
+ <param>
+ <key>_rotation</key>
+ <value>0</value>
+ </param>
+ </block>
+ <block>
+ <key>variable_slider</key>
+ <param>
+ <key>id</key>
+ <value>tone_ampl</value>
+ </param>
+ <param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
+ <key>label</key>
+ <value>Tone Ampl</value>
+ </param>
+ <param>
<key>value</key>
- <value>int(100e6)</value>
+ <value>5000</value>
+ </param>
+ <param>
+ <key>min</key>
+ <value>-samp_rate/2</value>
+ </param>
+ <param>
+ <key>max</key>
+ <value>samp_rate/2</value>
+ </param>
+ <param>
+ <key>num_steps</key>
+ <value>100</value>
+ </param>
+ <param>
+ <key>slider_type</key>
+ <value>vertical</value>
+ </param>
+ <param>
+ <key>grid_pos</key>
+ <value>1, 0, 2, 1</value>
</param>
<param>
<key>_coordinate</key>
- <value>(116, 166)</value>
+ <value>(21, 422)</value>
</param>
<param>
<key>_rotation</key>
@@ -655,21 +636,9 @@
<sink_key>0</sink_key>
</connection>
<connection>
- <source_block_id>gr_float_to_complex</source_block_id>
- <sink_block_id>usrp_simple_sink_x</sink_block_id>
- <source_key>0</source_key>
- <sink_key>0</sink_key>
- </connection>
- <connection>
<source_block_id>gr_add_vxx</source_block_id>
- <sink_block_id>gr_float_to_complex</sink_block_id>
+ <sink_block_id>usrp_simple_sink_x</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
- <connection>
- <source_block_id>gr_add_vxx</source_block_id>
- <sink_block_id>gr_float_to_complex</sink_block_id>
- <source_key>0</source_key>
- <sink_key>1</sink_key>
- </connection>
</flow_graph> \ No newline at end of file