From b21f38784342234627c9f43d7013f139800322b1 Mon Sep 17 00:00:00 2001
From: jblum
Date: Mon, 26 Jan 2009 21:17:41 +0000
Subject: new and improved simple/dual usrp blocks and wrapper classes
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10305 221aa14e-8319-0410-a670-987f0aec2ac5
---
.../platforms/python/blocks/usrp2_sink_xxxx.xml | 62 +------
.../platforms/python/blocks/usrp2_source_xxxx.xml | 62 +------
.../platforms/python/blocks/usrp_dual_sink_x.xml | 126 ++++++++------
.../platforms/python/blocks/usrp_dual_source_x.xml | 188 ++++++++++++++-------
.../platforms/python/blocks/usrp_simple_sink_x.xml | 97 +++++------
.../python/blocks/usrp_simple_source_x.xml | 130 ++++++--------
6 files changed, 297 insertions(+), 368 deletions(-)
(limited to 'grc/data')
diff --git a/grc/data/platforms/python/blocks/usrp2_sink_xxxx.xml b/grc/data/platforms/python/blocks/usrp2_sink_xxxx.xml
index 352fe4ce0..fe00908e0 100644
--- a/grc/data/platforms/python/blocks/usrp2_sink_xxxx.xml
+++ b/grc/data/platforms/python/blocks/usrp2_sink_xxxx.xml
@@ -17,14 +17,7 @@ usrp2.sink_$(type.fcn)($interface, $mac_addr)
#end if
self.$(id).set_interp($interpolation)
self.$(id).set_center_freq($frequency)
-self.$(id).set_gain($gain)
-#if $auto_tr.eval
-self.$(id).set_auto_tr($auto_tr)
-#end if
-#if $tx_enb.eval
-self.$(id).set_enable($tx_enb)
-#end if
-
+self.$(id).set_gain($gain)
set_interp($interpolation)
set_center_freq($frequency)
set_gain($gain)
@@ -70,50 +63,6 @@ self.$(id).set_enable($tx_enb)
gain
real
-
- Auto T/R
- auto_tr
-
- enum
- $auto_tr.hide
-
-
-
-
-
- TX Enable
- tx_enb
-
- enum
- $tx_enb.hide
-
-
-
-
in
$type
@@ -124,14 +73,5 @@ The USRP2 sink inputs 100 Megasamples per second / interpolation.
To use the default ethernet device, leave interface blank. \
For systems with only 1 USRP2, you may leave the mac address blank. \
For multi-USRP2 systems, specify the mac address in the form 00:50:C2:85:3x:xx.
-
---- Flex RF specific ---
-The "Auto TR" and "TX Enable" settings are flex rf specific and should be left at "Ignore" unless this is a flex rf board.
-
-If enabled, "Auto Transmit/Receive Switching" handles the preference for transmit packets vs receive packets. \
-By default, "Auto TR" is disabled.
-
-The "Transmit Enable" configures the transmitter to be on or off. \
-Do not leave this unconfigured.
diff --git a/grc/data/platforms/python/blocks/usrp2_source_xxxx.xml b/grc/data/platforms/python/blocks/usrp2_source_xxxx.xml
index 548baa8d9..bd92ec65b 100644
--- a/grc/data/platforms/python/blocks/usrp2_source_xxxx.xml
+++ b/grc/data/platforms/python/blocks/usrp2_source_xxxx.xml
@@ -17,14 +17,7 @@ usrp2.source_$(type.fcn)($interface, $mac_addr)
#end if
self.$(id).set_decim($decimation)
self.$(id).set_center_freq($frequency)
-self.$(id).set_gain($gain)
-#if $auto_tr.eval
-self.$(id).set_auto_tr($auto_tr)
-#end if
-#if $rx_ant.eval
-self.$(id).select_rx_antenna($rx_ant)
-#end if
-
+self.$(id).set_gain($gain)
set_decim($decimation)
set_center_freq($frequency)
set_gain($gain)
@@ -70,50 +63,6 @@ self.$(id).select_rx_antenna($rx_ant)
gain
real
-
- Auto T/R
- auto_tr
-
- enum
- $auto_tr.hide
-
-
-
-
-
- RX Antenna
- rx_ant
-
- enum
- $rx_ant.hide
-
-
-
-