On Fri, Jun 12, 2009 at 06:05:54PM +0200, Ulrika Uppman wrote:
> Hello everyone!
>
> We are confused about the error returned by set_rx_center_freq. The code
> below is executed while the USRP2 is running.
>
> usrp2::usrp2::sptr u2;
>
> //-- clip --//
>
> usrp2::tune_result tr;
> if (!u2->set_rx_center_freq(new_freq, &tr)){
> fprintf(stderr, "set_rx_center_freq(%g) failed\n", new_freq);
> //exit(1);
> }
>
> This results in that the set_rx_center_freq returns an error, but
> when looking at a plot of the received signal, the center frequency
> seemes to be set to the new frequency after all.
>
> Regards
> //Ulrika
What daughterboard are you using?
Eric
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio