From 19d3c0cab37123f8bfd19fdfc576f44b6069300f Mon Sep 17 00:00:00 2001
From: Josh Blum
Date: Wed, 10 Mar 2010 14:48:50 -0800
Subject: Added samp rate param and using the simple device from uhd
---
gr-uhd/grc/uhd_simple_sink.xml | 10 +++++++++-
gr-uhd/grc/uhd_simple_source.xml | 10 +++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
(limited to 'gr-uhd/grc')
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 @@
uhd_simple_sink
UHD
from gnuradio import uhd
- uhd.simple_sink($args, "$type.type")
+ uhd.simple_sink($args, "$type.type")
+self.$(id).set_samp_rate($samp_rate)
+ set_samp_rate($samp_rate)
Input Type
type
@@ -33,6 +35,12 @@
string
+
+ Samp Rate (Sps)
+ samp_rate
+ samp_rate
+ real
+
out
$type
diff --git a/gr-uhd/grc/uhd_simple_source.xml b/gr-uhd/grc/uhd_simple_source.xml
index 90bde1cd3..45496b098 100644
--- a/gr-uhd/grc/uhd_simple_source.xml
+++ b/gr-uhd/grc/uhd_simple_source.xml
@@ -9,7 +9,9 @@
uhd_simple_source
UHD
from gnuradio import uhd
- uhd.simple_source($args, "$type.type")
+ uhd.simple_source($args, "$type.type")
+self.$(id).set_samp_rate($samp_rate)
+ set_samp_rate($samp_rate)
Output Type
type
@@ -33,6 +35,12 @@
string
+
+ Samp Rate (Sps)
+ samp_rate
+ samp_rate
+ real
+