[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Error message when setting new center frequency
From: |
Ulrika Uppman |
Subject: |
[Discuss-gnuradio] Error message when setting new center frequency |
Date: |
Fri, 12 Jun 2009 18:05:54 +0200 |
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
- [Discuss-gnuradio] Error message when setting new center frequency,
Ulrika Uppman <=