discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] uhd::tune_result_t vs. usrp2::tune_result


From: Moritz Fischer
Subject: [Discuss-gnuradio] uhd::tune_result_t vs. usrp2::tune_result
Date: Thu, 25 Nov 2010 14:21:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101028 Lanikai/3.1.6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,

I'm currently trying to adapt the

gnuradio-core/src/python/gnuradio/blks2impl/generic_usrp.py

to work with the gr-uhd modules to (re)enable the use of UHD with the
gnuradio-examples/python/digital stuff.

I'm a bit confused with the return value of the set_center_freq of the
uhd_single_usrp_source.

What I tried was to map the values of the uhd::tune_result_t into a
usrp_tune_result. Does this make any sense to you guys? ;-)

Another question that arose while looking at the code concerns the
change in the way we set the sample rate:

Why do we have in the new UHD source:

set_samp_rate (double rate)

versus:

set_decim (int decimation_factor)

in the old USRP source?

Thanks for your time again & happy hacking

- -Moritz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM7mLVAAoJEOjnDXL6I0uZpHMP/28s/A98djBGYaeanGp54MXY
khFV6Ltx0vsCNv6Uf4oJTsBdxhcqPX3x3YYbXCf5k7MXyQXxj23OrHVMtl2niVbc
kbh2V710OTQEIC940ARrumPVTVDJ+A8vN76XGGGowZtJjMGaPYb20vyKkhqN5FWC
k6+xhi/DUBCWIWWE/fyefP0zl3VhSIbV4L5zjWtoX/A1NTeTKZsq+UcsKz6ZVDCl
UmZPBvav2PAIYpo99zvB3qZcxCPaGata09ZKsV03OeiUKG9yI1yUCXgj5tzhRNs2
dJFIAJAhkvI4rzV/GCYHI2WUuql758iCCPTbE4DLYBzyST/Eg5h1jveQetObIGpy
PGMRGKv4jXg3BUQN6gxrI7SN2ZGSs8i+oxJdmu7pr1Zwnc3DxAVX9HgupfjARray
MbO9RqbFKPoaWSwIJj6/SpNvVb/0b9zHPrN2UQWW31LfL4NS/3Ku5iTf3Fm5lx8l
7qLg+vJ4K35FO0iV/WIrOu+SHLPE8jiqlaaOgMC2pFfpqueLIMf5EXn0usiDgLjl
IrvdxBzvMfPI4H+4UiNoMq3OD9v0jBFvaIGcFqPmVlqKr93N/GNT/sRYgxxOIXpw
+4nzu5sRB2uFJa+4ABUs6RrJ8QvSzzkZW72rXk0hYNygn8IuUX8YkQMgifEQ19KZ
WLgxSrO5FnWPUkYL+X7i
=EbAB
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]