[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 14/14: uhd: changing uhd_msg_tune example t
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 14/14: uhd: changing uhd_msg_tune example to use other forms of setting parameters. |
Date: |
Wed, 6 May 2015 21:31:04 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch master
in repository gnuradio.
commit a693941515339f77dde55e356381e7039eb7c02c
Author: Tom Rondeau <address@hidden>
Date: Wed May 6 17:18:24 2015 -0400
uhd: changing uhd_msg_tune example to use other forms of setting parameters.
The four widgets displayed set the values of the message strobe
block's PMT dictionary to allow us to change them while the system is
running.
---
gr-uhd/examples/grc/uhd_msg_tune.grc | 234 ++++++++++++++++++++++++++++++-----
1 file changed, 201 insertions(+), 33 deletions(-)
diff --git a/gr-uhd/examples/grc/uhd_msg_tune.grc
b/gr-uhd/examples/grc/uhd_msg_tune.grc
index 0111142..cedb743 100644
--- a/gr-uhd/examples/grc/uhd_msg_tune.grc
+++ b/gr-uhd/examples/grc/uhd_msg_tune.grc
@@ -30,7 +30,7 @@
</param>
<param>
<key>_coordinate</key>
- <value>(-1, -2)</value>
+ <value>(8, 3)</value>
</param>
<param>
<key>_rotation</key>
@@ -74,14 +74,14 @@
</param>
</block>
<block>
- <key>variable_qtgui_entry</key>
+ <key>variable_qtgui_chooser</key>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>value</key>
- <value>pmt.to_pmt({'antenna': 'TX/RX', 'gain': 23.0, 'chan': 0})</value>
+ <value>TX/RX</value>
</param>
<param>
<key>_enabled</key>
@@ -89,7 +89,7 @@
</param>
<param>
<key>_coordinate</key>
- <value>(112, 347)</value>
+ <value>(8, 307)</value>
</param>
<param>
<key>gui_hint</key>
@@ -101,26 +101,113 @@
</param>
<param>
<key>id</key>
- <value>cmd_msg</value>
+ <value>ant_msg</value>
+ </param>
+ <param>
+ <key>label0</key>
+ <value></value>
+ </param>
+ <param>
+ <key>label1</key>
+ <value></value>
+ </param>
+ <param>
+ <key>label2</key>
+ <value></value>
+ </param>
+ <param>
+ <key>label3</key>
+ <value></value>
+ </param>
+ <param>
+ <key>label4</key>
+ <value></value>
</param>
<param>
<key>label</key>
- <value>Command Message</value>
+ <value>Antenna</value>
+ </param>
+ <param>
+ <key>labels</key>
+ <value>[]</value>
+ </param>
+ <param>
+ <key>num_opts</key>
+ <value>2</value>
+ </param>
+ <param>
+ <key>option0</key>
+ <value>TX/RX</value>
+ </param>
+ <param>
+ <key>option1</key>
+ <value>RX2</value>
+ </param>
+ <param>
+ <key>option2</key>
+ <value>2</value>
+ </param>
+ <param>
+ <key>option3</key>
+ <value>3</value>
+ </param>
+ <param>
+ <key>option4</key>
+ <value>4</value>
+ </param>
+ <param>
+ <key>options</key>
+ <value>[0, 1, 2]</value>
+ </param>
+ <param>
+ <key>orient</key>
+ <value>Qt.QVBoxLayout</value>
</param>
<param>
<key>type</key>
- <value>raw</value>
+ <value>string</value>
+ </param>
+ <param>
+ <key>widget</key>
+ <value>combo_box</value>
+ </param>
+ </block>
+ <block>
+ <key>variable</key>
+ <param>
+ <key>comment</key>
+ <value></value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>_coordinate</key>
+ <value>(232, 115)</value>
+ </param>
+ <param>
+ <key>_rotation</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>id</key>
+ <value>cmd_msg</value>
+ </param>
+ <param>
+ <key>value</key>
+ <value>pmt.to_pmt({'antenna': ant_msg, 'gain': gain_msg, 'chan': 0,
'freq': freq_msg, 'lo_offset': lo_msg})</value>
</param>
</block>
<block>
- <key>variable_qtgui_range</key>
+ <key>variable_qtgui_entry</key>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>value</key>
- <value>.8</value>
+ <value>initial_fc</value>
</param>
<param>
<key>_enabled</key>
@@ -128,11 +215,11 @@
</param>
<param>
<key>_coordinate</key>
- <value>(103, 99)</value>
+ <value>(144, 227)</value>
</param>
<param>
<key>gui_hint</key>
- <value></value>
+ <value>0,1,1,1</value>
</param>
<param>
<key>_rotation</key>
@@ -140,39 +227,81 @@
</param>
<param>
<key>id</key>
- <value>gain</value>
+ <value>freq_msg</value>
</param>
<param>
<key>label</key>
- <value>Gain</value>
+ <value>Frequency</value>
</param>
<param>
- <key>min_len</key>
- <value>200</value>
+ <key>type</key>
+ <value>real</value>
</param>
+ </block>
+ <block>
+ <key>variable</key>
<param>
- <key>orient</key>
- <value>Qt.Horizontal</value>
+ <key>comment</key>
+ <value></value>
</param>
<param>
- <key>start</key>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>_coordinate</key>
+ <value>(104, 99)</value>
+ </param>
+ <param>
+ <key>_rotation</key>
<value>0</value>
</param>
<param>
- <key>step</key>
- <value>.01</value>
+ <key>id</key>
+ <value>gain</value>
</param>
<param>
- <key>stop</key>
- <value>1</value>
+ <key>value</key>
+ <value>0.8</value>
</param>
+ </block>
+ <block>
+ <key>variable_qtgui_entry</key>
<param>
- <key>rangeType</key>
- <value>float</value>
+ <key>comment</key>
+ <value></value>
</param>
<param>
- <key>widget</key>
- <value>counter_slider</value>
+ <key>value</key>
+ <value>gain</value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>_coordinate</key>
+ <value>(8, 227)</value>
+ </param>
+ <param>
+ <key>gui_hint</key>
+ <value>0,0,1,1</value>
+ </param>
+ <param>
+ <key>_rotation</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>id</key>
+ <value>gain_msg</value>
+ </param>
+ <param>
+ <key>label</key>
+ <value>Gain</value>
+ </param>
+ <param>
+ <key>type</key>
+ <value>real</value>
</param>
</block>
<block>
@@ -187,7 +316,7 @@
</param>
<param>
<key>_coordinate</key>
- <value>(-2, 172)</value>
+ <value>(8, 163)</value>
</param>
<param>
<key>_rotation</key>
@@ -203,6 +332,45 @@
</param>
</block>
<block>
+ <key>variable_qtgui_entry</key>
+ <param>
+ <key>comment</key>
+ <value></value>
+ </param>
+ <param>
+ <key>value</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>_coordinate</key>
+ <value>(144, 307)</value>
+ </param>
+ <param>
+ <key>gui_hint</key>
+ <value>1,1,1,1</value>
+ </param>
+ <param>
+ <key>_rotation</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>id</key>
+ <value>lo_msg</value>
+ </param>
+ <param>
+ <key>label</key>
+ <value>LO Offset</value>
+ </param>
+ <param>
+ <key>type</key>
+ <value>real</value>
+ </param>
+ </block>
+ <block>
<key>variable</key>
<param>
<key>comment</key>
@@ -214,7 +382,7 @@
</param>
<param>
<key>_coordinate</key>
- <value>(1, 102)</value>
+ <value>(8, 99)</value>
</param>
<param>
<key>_rotation</key>
@@ -249,7 +417,7 @@
</param>
<param>
<key>_coordinate</key>
- <value>(96, 275)</value>
+ <value>(216, 43)</value>
</param>
<param>
<key>_rotation</key>
@@ -320,7 +488,7 @@
</param>
<param>
<key>_coordinate</key>
- <value>(536, 251)</value>
+ <value>(472, 155)</value>
</param>
<param>
<key>gui_hint</key>
@@ -340,7 +508,7 @@
</param>
<param>
<key>legend</key>
- <value>True</value>
+ <value>False</value>
</param>
<param>
<key>alpha1</key>
@@ -512,7 +680,7 @@
</param>
<param>
<key>name</key>
- <value>QT GUI Plot</value>
+ <value></value>
</param>
<param>
<key>nconnections</key>
@@ -1235,7 +1403,7 @@
</param>
<param>
<key>_coordinate</key>
- <value>(528, 123)</value>
+ <value>(488, 27)</value>
</param>
<param>
<key>_rotation</key>
- [Commit-gnuradio] [gnuradio] 06/14: controlport: fixing complaints about no non-virtual dtor., (continued)
- [Commit-gnuradio] [gnuradio] 06/14: controlport: fixing complaints about no non-virtual dtor., git, 2015/05/06
- [Commit-gnuradio] [gnuradio] 09/14: Merge branch 'maint', git, 2015/05/06
- [Commit-gnuradio] [gnuradio] 02/14: uhd: Fixes for CID 1296559 and 1090067 and more, git, 2015/05/06
- [Commit-gnuradio] [gnuradio] 05/14: controlport: build: allowing ControlPort and probes in static builds., git, 2015/05/06
- [Commit-gnuradio] [gnuradio] 04/14: uhd: Updated frequency hopping example to do DSP tuning only, git, 2015/05/06
- [Commit-gnuradio] [gnuradio] 12/14: Merge remote-tracking branch 'mbant/uhd/cids-59-67-master', git, 2015/05/06
- [Commit-gnuradio] [gnuradio] 10/14: Merge remote-tracking branch 'ckuethe/spectrum_sense', git, 2015/05/06
- [Commit-gnuradio] [gnuradio] 11/14: Merge remote-tracking branch 'trondeau/controlport/cleaning_up', git, 2015/05/06
- [Commit-gnuradio] [gnuradio] 07/14: controlport: android: cleaning up; better logs; help to support android., git, 2015/05/06
- [Commit-gnuradio] [gnuradio] 13/14: Merge remote-tracking branch 'mbant/uhd/message_updates', git, 2015/05/06
- [Commit-gnuradio] [gnuradio] 14/14: uhd: changing uhd_msg_tune example to use other forms of setting parameters.,
git <=
- [Commit-gnuradio] [gnuradio] 03/14: uhd: Updated command interface to match new message command format, git, 2015/05/06