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 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio