From 3d27662913c78f672e3f7d7d1ebc2013ee038387 Mon Sep 17 00:00:00 2001
From: Josh Blum
Date: Wed, 2 Sep 2009 12:07:14 -0700
Subject: Modifications to the usrp blocks and wrapper so that the lo offset is
set with the lo frequency.
---
grc/blocks/usrp_simple_source_x.xml | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
(limited to 'grc/blocks/usrp_simple_source_x.xml')
diff --git a/grc/blocks/usrp_simple_source_x.xml b/grc/blocks/usrp_simple_source_x.xml
index 1a777bd63..7fcc7a22c 100644
--- a/grc/blocks/usrp_simple_source_x.xml
+++ b/grc/blocks/usrp_simple_source_x.xml
@@ -13,14 +13,18 @@
self.$(id).set_format(width=$format.width, shift=$format.shift)
#end if
self.$(id).set_decim_rate($decimation)
-self.$(id).set_frequency($frequency, verbose=True)
-self.$(id).set_gain($gain)
+self.$(id).set_frequency($frequency, verbose=True#slurp
#if $lo_offset() != float('inf')
-self.$(id).set_lo_offset($lo_offset)
-#end if
- set_lo_offset($lo_offset)
+, lo_offset=$lo_offset#slurp
+#end if
+)
+self.$(id).set_gain($gain)
set_decim_rate($decimation)
- set_frequency($frequency)
+ set_frequency($frequency#slurp
+#if $lo_offset() != float('inf')
+, lo_offset=$lo_offset#slurp
+#end if
+)
set_gain($gain)
Output Type
--
cgit