diff options
Diffstat (limited to 'gr-uhd/grc/uhd_simple_sink.xml')
-rw-r--r-- | gr-uhd/grc/uhd_simple_sink.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gr-uhd/grc/uhd_simple_sink.xml b/gr-uhd/grc/uhd_simple_sink.xml index 1259c38c0..078288e04 100644 --- a/gr-uhd/grc/uhd_simple_sink.xml +++ b/gr-uhd/grc/uhd_simple_sink.xml @@ -9,7 +9,9 @@ <key>uhd_simple_sink</key> <category>UHD</category> <import>from gnuradio import uhd</import> - <make>uhd.simple_sink($args, "$type.type")</make> + <make>uhd.simple_sink($args, "$type.type") +self.$(id).set_samp_rate($samp_rate)</make> + <callback>set_samp_rate($samp_rate)</callback> <param> <name>Input Type</name> <key>type</key> @@ -33,6 +35,12 @@ <value></value> <type>string</type> </param> + <param> + <name>Samp Rate (Sps)</name> + <key>samp_rate</key> + <value>samp_rate</value> + <type>real</type> + </param> <sink> <name>out</name> <type>$type</type> |