summaryrefslogtreecommitdiff
path: root/gr-uhd/grc/uhd_simple_sink.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/grc/uhd_simple_sink.xml')
-rw-r--r--gr-uhd/grc/uhd_simple_sink.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/gr-uhd/grc/uhd_simple_sink.xml b/gr-uhd/grc/uhd_simple_sink.xml
index 2992f650e..1913d7ffb 100644
--- a/gr-uhd/grc/uhd_simple_sink.xml
+++ b/gr-uhd/grc/uhd_simple_sink.xml
@@ -10,6 +10,7 @@
<category>UHD</category>
<import>from gnuradio import uhd</import>
<make>uhd.simple_sink($args, uhd.io_type_t.$type.type)
+self.$(id).set_subdev_spec($sd_spec)
self.$(id).set_samp_rate($samp_rate)
self.$(id).set_center_freq($center_freq)
self.$(id).set_gain($gain)
@@ -44,6 +45,13 @@ self.$(id).set_antenna($ant)
<type>string</type>
</param>
<param>
+ <name>Subdev Spec</name>
+ <key>sd_spec</key>
+ <value></value>
+ <type>string</type>
+ <hide>#if $sd_spec() then 'none' else 'part'#</hide>
+ </param>
+ <param>
<name>Samp Rate (Sps)</name>
<key>samp_rate</key>
<value>samp_rate</value>
@@ -52,6 +60,7 @@ self.$(id).set_antenna($ant)
<param>
<name>Center Freq (Hz)</name>
<key>center_freq</key>
+ <value>0</value>
<type>real</type>
</param>
<param>
@@ -67,7 +76,7 @@ self.$(id).set_antenna($ant)
<hide>#if $ant() == '' then 'part' else 'none'#</hide>
</param>
<sink>
- <name>out</name>
+ <name>in</name>
<type>$type</type>
<vlen>$type.vlen</vlen>
</sink>