[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Error message when setting new center frequency
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Error message when setting new center frequency |
Date: |
Fri, 12 Jun 2009 11:18:14 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
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