diff options
author | Josh Blum | 2010-03-30 14:08:11 -0700 |
---|---|---|
committer | Josh Blum | 2010-03-30 14:08:11 -0700 |
commit | a87552815119742d98561f9b53ab0da5513514bb (patch) | |
tree | 07a55e9132bd6ac57cdcf85f69aa50bce8f325c1 /gr-uhd/grc | |
parent | 6851718b6d9a97a8c9397a1548708c7075de98e4 (diff) | |
download | gnuradio-a87552815119742d98561f9b53ab0da5513514bb.tar.gz gnuradio-a87552815119742d98561f9b53ab0da5513514bb.tar.bz2 gnuradio-a87552815119742d98561f9b53ab0da5513514bb.zip |
gr-uhd working with io type
Diffstat (limited to 'gr-uhd/grc')
-rw-r--r-- | gr-uhd/grc/uhd_simple_sink.xml | 6 | ||||
-rw-r--r-- | gr-uhd/grc/uhd_simple_source.xml | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gr-uhd/grc/uhd_simple_sink.xml b/gr-uhd/grc/uhd_simple_sink.xml index cad6194ee..fa9e19be7 100644 --- a/gr-uhd/grc/uhd_simple_sink.xml +++ b/gr-uhd/grc/uhd_simple_sink.xml @@ -9,7 +9,7 @@ <key>uhd_simple_sink</key> <category>UHD</category> <import>from gnuradio import uhd</import> - <make>uhd.simple_sink($args, "$type.type") + <make>uhd.simple_sink($args, uhd.io_type_t.$type.type) self.$(id).set_samp_rate($samp_rate) self.$(id).set_center_freq($center_freq)</make> <callback>set_samp_rate($samp_rate)</callback> @@ -21,13 +21,13 @@ self.$(id).set_center_freq($center_freq)</make> <option> <name>Complex</name> <key>complex</key> - <opt>type:32fc</opt> + <opt>type:COMPLEX_FLOAT32</opt> <opt>vlen:1</opt> </option> <option> <name>Short</name> <key>short</key> - <opt>type:16sc</opt> + <opt>type:COMPLEX_INT16</opt> <opt>vlen:2</opt> </option> </param> diff --git a/gr-uhd/grc/uhd_simple_source.xml b/gr-uhd/grc/uhd_simple_source.xml index 519b7ad6c..7deffeeec 100644 --- a/gr-uhd/grc/uhd_simple_source.xml +++ b/gr-uhd/grc/uhd_simple_source.xml @@ -9,7 +9,7 @@ <key>uhd_simple_source</key> <category>UHD</category> <import>from gnuradio import uhd</import> - <make>uhd.simple_source($args, "$type.type") + <make>uhd.simple_source($args, uhd.io_type_t.$type.type) self.$(id).set_samp_rate($samp_rate) self.$(id).set_center_freq($center_freq)</make> <callback>set_samp_rate($samp_rate)</callback> @@ -21,13 +21,13 @@ self.$(id).set_center_freq($center_freq)</make> <option> <name>Complex</name> <key>complex</key> - <opt>type:32fc</opt> + <opt>type:COMPLEX_FLOAT32</opt> <opt>vlen:1</opt> </option> <option> <name>Short</name> <key>short</key> - <opt>type:16sc</opt> + <opt>type:COMPLEX_INT16</opt> <opt>vlen:2</opt> </option> </param> |