summaryrefslogtreecommitdiff
path: root/gr-uhd/doc
diff options
context:
space:
mode:
authormanojgudi2013-10-01 17:22:29 +0530
committermanojgudi2013-10-01 17:22:47 +0530
commited97c528ce61496e10d612a4f5e9aef509b65ccf (patch)
tree81c10c71bd20df77e65d02056b3f2b022299b4ea /gr-uhd/doc
parente25fe808cf6a20e9469d1380d497e23205a379b6 (diff)
downloadgnuradio-ed97c528ce61496e10d612a4f5e9aef509b65ccf.tar.gz
gnuradio-ed97c528ce61496e10d612a4f5e9aef509b65ccf.tar.bz2
gnuradio-ed97c528ce61496e10d612a4f5e9aef509b65ccf.zip
Removed unwanted blocks and changed CMakefile
Diffstat (limited to 'gr-uhd/doc')
-rw-r--r--gr-uhd/doc/CMakeLists.txt23
-rw-r--r--gr-uhd/doc/README.uhd14
-rw-r--r--gr-uhd/doc/uhd.dox101
3 files changed, 0 insertions, 138 deletions
diff --git a/gr-uhd/doc/CMakeLists.txt b/gr-uhd/doc/CMakeLists.txt
deleted file mode 100644
index b78c50a02..000000000
--- a/gr-uhd/doc/CMakeLists.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 2011 Free Software Foundation, Inc.
-#
-# This file is part of GNU Radio
-#
-# GNU Radio is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3, or (at your option)
-# any later version.
-#
-# GNU Radio is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Radio; see the file COPYING. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street,
-# Boston, MA 02110-1301, USA.
-
-install(
- FILES README.uhd
- DESTINATION ${GR_PKG_DOC_DIR}
-)
diff --git a/gr-uhd/doc/README.uhd b/gr-uhd/doc/README.uhd
deleted file mode 100644
index b0720d6d0..000000000
--- a/gr-uhd/doc/README.uhd
+++ /dev/null
@@ -1,14 +0,0 @@
-This is the GNU Radio UHD package. It is the interface to the UHD
-library to connect to and send and receive data between the Ettus
-Research, LLC product line. To use the UHD blocks, the Python
-namespaces is in gnuradio.uhd, which would be normally imported
-as:
-
- from gnuradio import uhd
-
-See the Doxygen documentation for details about the blocks available
-in this package. A quick listing of the details can be found in Python
-after importing by using:
-
- help(uhd)
-
diff --git a/gr-uhd/doc/uhd.dox b/gr-uhd/doc/uhd.dox
deleted file mode 100644
index f03705fe1..000000000
--- a/gr-uhd/doc/uhd.dox
+++ /dev/null
@@ -1,101 +0,0 @@
-/*! \page page_uhd UHD Interface
-
-\section Introduction
-This is the GNU Radio UHD package. It is the interface to the UHD
-library to connect to and send and receive data between the Ettus
-Research, LLC product line. To use the UHD blocks, the Python
-namespaces is in gnuradio.uhd, which would be normally imported
-as:
-
-\code
- from gnuradio import uhd
-\endcode
-
-The relevant blocks are listed in the \ref uhd_blk group.
-
-A quick listing of the details can be found in Python after importing
-by using:
-
-\code
- help(uhd)
-\endcode
-
-
-\section External Documentation
-
-Ettus Research keeps the comprehensive documentation to the underlying UHD driver, which can be found:
-
- http://files.ettus.com/uhd_docs/manual/html/
-
-The UHD Doxygen page is located:
-
- http://files.ettus.com/uhd_docs/doxygen/html/index.html
-
-
-\section Typical Setup
-
-A typical option parser setup for a UHD device looks like
-
-\code
- parser = OptionParser(option_class=eng_option)
- parser.add_option("-a", "--args", type="string", default="",
- help="UHD device address args , [default=%default]")
- parser.add_option("", "--spec", type="string", default=None,
- help="Subdevice of UHD device where appropriate")
- parser.add_option("-A", "--antenna", type="string", default=None,
- help="select Rx Antenna where appropriate")
- parser.add_option("-s", "--samp-rate", type="eng_float", default=1e6,
- help="set sample rate (bandwidth) [default=%default]")
- parser.add_option("-f", "--freq", type="eng_float", default=None,
- help="set frequency to FREQ", metavar="FREQ")
- parser.add_option("-g", "--gain", type="eng_float", default=None,
- help="set gain in dB (default is midpoint)")
-\endcode
-
-To use these options to create a UHD source object:
-
-\code
- self.u = uhd.usrp_source(device_addr=options.args,
- io_type=uhd.io_type.COMPLEX_FLOAT32,
- num_channels=1)
-
- self.u.set_samp_rate(options.samp_rate)
-
- # if no gain was specified, use the mid-point in dB
- if options.gain is None:
- g = self.u.get_gain_range()
- options.gain = float(g.start()+g.stop())/2
- self.u.set_gain(options.gain, 0)
-
- # Set the center frequency
- self.u.set_center_freq(options.freq, 0)
-
- # Set the subdevice spec
- if(options.spec):
- self.u.set_subdev_spec(options.spec, 0)
-
- # Set the antenna
- if(options.antenna):
- self.u.set_antenna(options.antenna, 0)
-\endcode
-
-Frequently, your application may need a sample rate that is not
-supported by the UHD device. If you have extra CPU power to spare, you
-can easily set the sample rate you want, then ask the device what the
-actual sample rate set was. Then, you can easily create an arbitrary
-resampler to take care of the difference.
-
-\code
- self.u.set_samp_rate(options.samp_rate)
-
- desired_rate = options.samp_rate
- actual_rate = self.u.get_samp_rate()
- resample = desired_rate / actual_rate
-
- # Use the blks2 version and pass only the resample factor.
- # This block builds a half-band filter for you
-
- self.resampler = blks2.pfb_arb_resampler_ccf(resample)
-\endcode
-
-*/