summaryrefslogtreecommitdiff
path: root/gr-uhd/grc/uhd_simple_source.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/grc/uhd_simple_source.xml')
-rw-r--r--gr-uhd/grc/uhd_simple_source.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/gr-uhd/grc/uhd_simple_source.xml b/gr-uhd/grc/uhd_simple_source.xml
index ecd963928..ae7518803 100644
--- a/gr-uhd/grc/uhd_simple_source.xml
+++ b/gr-uhd/grc/uhd_simple_source.xml
@@ -10,6 +10,7 @@
<category>UHD</category>
<import>from gnuradio import uhd</import>
<make>uhd.simple_source($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>