diff options
author | Josh Blum | 2010-03-02 14:43:20 -0800 |
---|---|---|
committer | Josh Blum | 2010-03-02 14:43:20 -0800 |
commit | 6d71414a0a467dc37fc903b327be22f8d0ddeade (patch) | |
tree | d74618b160f138e4b022ea549896c54a00eef6c8 /gr-uhd/grc | |
parent | c85606eaaf5a73387d4423bdeb2f63483394137e (diff) | |
download | gnuradio-6d71414a0a467dc37fc903b327be22f8d0ddeade.tar.gz gnuradio-6d71414a0a467dc37fc903b327be22f8d0ddeade.tar.bz2 gnuradio-6d71414a0a467dc37fc903b327be22f8d0ddeade.zip |
Added the uhd simple sink lib block, swig wrapper, grc wrapper.
It seems to work, but still getting the kinks out of tx->usrp2
Diffstat (limited to 'gr-uhd/grc')
-rw-r--r-- | gr-uhd/grc/Makefile.am | 3 | ||||
-rw-r--r-- | gr-uhd/grc/uhd_simple_sink.xml | 43 |
2 files changed, 45 insertions, 1 deletions
diff --git a/gr-uhd/grc/Makefile.am b/gr-uhd/grc/Makefile.am index a46146272..61eb32770 100644 --- a/gr-uhd/grc/Makefile.am +++ b/gr-uhd/grc/Makefile.am @@ -24,4 +24,5 @@ include $(top_srcdir)/Makefile.common grcblocksdir = $(grc_blocksdir) dist_grcblocks_DATA = \ - uhd_simple_source.xml + uhd_simple_source.xml \ + uhd_simple_sink.xml diff --git a/gr-uhd/grc/uhd_simple_sink.xml b/gr-uhd/grc/uhd_simple_sink.xml new file mode 100644 index 000000000..1259c38c0 --- /dev/null +++ b/gr-uhd/grc/uhd_simple_sink.xml @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<!-- +################################################### +## UHD Simple Sink +################################################### + --> +<block> + <name>UHD Simple Sink</name> + <key>uhd_simple_sink</key> + <category>UHD</category> + <import>from gnuradio import uhd</import> + <make>uhd.simple_sink($args, "$type.type")</make> + <param> + <name>Input Type</name> + <key>type</key> + <type>enum</type> + <option> + <name>Complex</name> + <key>complex</key> + <opt>type:32fc</opt> + <opt>vlen:1</opt> + </option> + <option> + <name>Short</name> + <key>short</key> + <opt>type:16sc</opt> + <opt>vlen:2</opt> + </option> + </param> + <param> + <name>Args</name> + <key>args</key> + <value></value> + <type>string</type> + </param> + <sink> + <name>out</name> + <type>$type</type> + <vlen>$type.vlen</vlen> + </sink> + <doc> + </doc> +</block> |