diff options
author | Josh Blum | 2010-10-28 13:24:23 -0700 |
---|---|---|
committer | Josh Blum | 2010-10-28 13:24:23 -0700 |
commit | 3dab5d93a45928baa4fb23878d644751e06943a0 (patch) | |
tree | 0abc8b35d44d2453e5f6888714bf9318ede45c1a /gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py | |
parent | 5a2de999da86d48cd7f005d08cc48965cb8c7a65 (diff) | |
download | gnuradio-3dab5d93a45928baa4fb23878d644751e06943a0.tar.gz gnuradio-3dab5d93a45928baa4fb23878d644751e06943a0.tar.bz2 gnuradio-3dab5d93a45928baa4fb23878d644751e06943a0.zip |
uhd: make a tune_request_t that inherits from float for GRC, added docs
Diffstat (limited to 'gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py')
-rwxr-xr-x | gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py b/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py index cb2143f8f..9b6422f7a 100755 --- a/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py +++ b/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py @@ -142,11 +142,6 @@ Used args to specify a specfic device. USRP2 Example: addr=192.168.10.2 USRP1 Example: serial=12345678 -Sample rate: -The sample rate is the number of samples per second input by this block. \\ -The UHD device driver will try its best to match the requested sample rate. \\ -If the requested rate is not possible, the UHD block will print an error at runtime. - Subdevice specification: Select the subdevice or subdevices for each channel using a markup string. \\ The markup string consists of a list of dboard_slot:subdev_name pairs (one pair per channel). \\ @@ -155,6 +150,17 @@ See the application notes for further details. Single channel example: A:AB Dual channel example: A:AB B:0 +Sample rate: +The sample rate is the number of samples per second input by this block. \\ +The UHD device driver will try its best to match the requested sample rate. \\ +If the requested rate is not possible, the UHD block will print an error at runtime. + +Center frequency: +The center frequency is the overall frequency of the RF chain. \\ +For greater control of how the UHD tunes elements in the RF chain, \\ +pass a tune_request_t object rather than a simple target frequency. +Tuning with an LO offset example: uhd.tune_request_t(freq, lo_off) + Antenna: For subdevices with only one antenna, this may be left blank. \\ Otherwise, the user should specify one of the possible antenna choices. \\ |