From 09f236be864aaa3b5216eb42676eafb38d47b587 Mon Sep 17 00:00:00 2001 From: jblum Date: Sun, 1 Feb 2009 19:26:56 +0000 Subject: options for hb filter in usrp simple source git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10369 221aa14e-8319-0410-a670-987f0aec2ac5 --- .../platforms/python/blocks/usrp_dual_sink_x.xml | 4 ++-- .../platforms/python/blocks/usrp_dual_source_x.xml | 4 ++-- grc/data/platforms/python/blocks/usrp_probe.xml | 4 ++-- .../platforms/python/blocks/usrp_simple_sink_x.xml | 4 ++-- .../python/blocks/usrp_simple_source_x.xml | 23 ++++++++++++++++++++-- 5 files changed, 29 insertions(+), 10 deletions(-) (limited to 'grc/data/platforms/python') diff --git a/grc/data/platforms/python/blocks/usrp_dual_sink_x.xml b/grc/data/platforms/python/blocks/usrp_dual_sink_x.xml index c26d96887..5644759cb 100644 --- a/grc/data/platforms/python/blocks/usrp_dual_sink_x.xml +++ b/grc/data/platforms/python/blocks/usrp_dual_sink_x.xml @@ -8,7 +8,7 @@ USRP Dual Sink usrp_dual_sink_x from grc_gnuradio import usrp as grc_usrp - grc_usrp.dual_sink_$(type.fcn)(number=$number) + grc_usrp.dual_sink_$(type.fcn)(which=$which) #if $format.eval self.$(id).set_format(width=$format.width, shift=$format.shift) #end if @@ -76,7 +76,7 @@ self.$(id).set_auto_tr_b($auto_tr_b) Unit Number - number + which 0 int diff --git a/grc/data/platforms/python/blocks/usrp_dual_source_x.xml b/grc/data/platforms/python/blocks/usrp_dual_source_x.xml index ff355b510..e6617889c 100644 --- a/grc/data/platforms/python/blocks/usrp_dual_source_x.xml +++ b/grc/data/platforms/python/blocks/usrp_dual_source_x.xml @@ -8,7 +8,7 @@ USRP Dual Source usrp_dual_source_x from grc_gnuradio import usrp as grc_usrp - grc_usrp.dual_source_$(type.fcn)(number=$number, side_a='$rx_ant_a.side', rx_ant_a='$rx_ant_a.rx_ant', side_b='$rx_ant_b.side', rx_ant_b='$rx_ant_b.rx_ant') + grc_usrp.dual_source_$(type.fcn)(which=$which, side_a='$rx_ant_a.side', rx_ant_a='$rx_ant_a.rx_ant', side_b='$rx_ant_b.side', rx_ant_b='$rx_ant_b.rx_ant') #if $format.eval self.$(id).set_format(width=$format.width, shift=$format.shift) #end if @@ -70,7 +70,7 @@ self.$(id).set_auto_tr_b($auto_tr_b) Unit Number - number + which 0 int diff --git a/grc/data/platforms/python/blocks/usrp_probe.xml b/grc/data/platforms/python/blocks/usrp_probe.xml index 5fd4e17f4..ee207c28d 100644 --- a/grc/data/platforms/python/blocks/usrp_probe.xml +++ b/grc/data/platforms/python/blocks/usrp_probe.xml @@ -10,8 +10,8 @@ usrp_probe - USRP Number - number + Unit Number + which 0 int diff --git a/grc/data/platforms/python/blocks/usrp_simple_sink_x.xml b/grc/data/platforms/python/blocks/usrp_simple_sink_x.xml index dc76199e8..d0a9287b6 100644 --- a/grc/data/platforms/python/blocks/usrp_simple_sink_x.xml +++ b/grc/data/platforms/python/blocks/usrp_simple_sink_x.xml @@ -8,7 +8,7 @@ USRP Sink usrp_simple_sink_x from grc_gnuradio import usrp as grc_usrp - grc_usrp.simple_sink_$(type.fcn)(number=$number, side='$side') + grc_usrp.simple_sink_$(type.fcn)(which=$which, side='$side') #if $format.eval self.$(id).set_format(width=$format.width, shift=$format.shift) #end if @@ -60,7 +60,7 @@ self.$(id).set_auto_tr($auto_tr) Unit Number - number + which 0 int diff --git a/grc/data/platforms/python/blocks/usrp_simple_source_x.xml b/grc/data/platforms/python/blocks/usrp_simple_source_x.xml index f7f24898a..cd2bf9d50 100644 --- a/grc/data/platforms/python/blocks/usrp_simple_source_x.xml +++ b/grc/data/platforms/python/blocks/usrp_simple_source_x.xml @@ -8,7 +8,7 @@ USRP Source usrp_simple_source_x from grc_gnuradio import usrp as grc_usrp - grc_usrp.simple_source_$(type.fcn)(number=$number, side='$side', rx_ant='$rx_ant') + grc_usrp.simple_source_$(type.fcn)(which=$which, side='$side', rx_ant='$rx_ant'#if $hb_filters.eval then ', no_hb=True' else ''#) #if $format.eval self.$(id).set_format(width=$format.width, shift=$format.shift) #end if @@ -57,7 +57,7 @@ self.$(id).set_auto_tr($auto_tr) Unit Number - number + which 0 int @@ -135,6 +135,21 @@ self.$(id).set_auto_tr($auto_tr) False + + Halfband Filters + hb_filters + + enum + #if $hb_filters.eval then 'none' else 'part'# + + + out $type @@ -149,5 +164,9 @@ All other boards use the "RXA" setting. Flex RF boards only: If enabled, "Auto Transmit/Receive Switching" handles the preference for transmit packets vs receive packets. \ By default, "Auto TR" is disabled. + +With the format set to 8 bits and the halfband filters disabled, the USRP can acheive a decimation rate of 4. \ +Disabling the halfband filters requires a special USRP firmware without halfband filters or TX paths. \ +For this reason, the USRP cannot transmit with the halfband filters disabled. -- cgit