diff options
author | Josh Blum | 2010-03-16 19:43:08 -0700 |
---|---|---|
committer | Josh Blum | 2010-03-16 19:43:08 -0700 |
commit | b5c1edfd488ccdd8a2c6ff5a2efb3de35a048d67 (patch) | |
tree | f5cbdb36c04471085855e8733bb1297eb6d77c0c /gr-uhd/grc/uhd_simple_source.xml | |
parent | d43d40813c1a8343a86abb231876a8b7c0e9f806 (diff) | |
download | gnuradio-b5c1edfd488ccdd8a2c6ff5a2efb3de35a048d67.tar.gz gnuradio-b5c1edfd488ccdd8a2c6ff5a2efb3de35a048d67.tar.bz2 gnuradio-b5c1edfd488ccdd8a2c6ff5a2efb3de35a048d67.zip |
added set center freq call
Diffstat (limited to 'gr-uhd/grc/uhd_simple_source.xml')
-rw-r--r-- | gr-uhd/grc/uhd_simple_source.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gr-uhd/grc/uhd_simple_source.xml b/gr-uhd/grc/uhd_simple_source.xml index 45496b098..519b7ad6c 100644 --- a/gr-uhd/grc/uhd_simple_source.xml +++ b/gr-uhd/grc/uhd_simple_source.xml @@ -10,8 +10,10 @@ <category>UHD</category> <import>from gnuradio import uhd</import> <make>uhd.simple_source($args, "$type.type") -self.$(id).set_samp_rate($samp_rate)</make> +self.$(id).set_samp_rate($samp_rate) +self.$(id).set_center_freq($center_freq)</make> <callback>set_samp_rate($samp_rate)</callback> + <callback>set_center_freq($center_freq)</callback> <param> <name>Output Type</name> <key>type</key> @@ -41,6 +43,11 @@ self.$(id).set_samp_rate($samp_rate)</make> <value>samp_rate</value> <type>real</type> </param> + <param> + <name>Center Freq (Hz)</name> + <key>center_freq</key> + <type>real</type> + </param> <source> <name>out</name> <type>$type</type> |