Greetings, I'm new to the list, though I've been using gnuradio for about 6 months now. I'm using the USRP connected to an acoustic transceiver for underwater communications/data collection.
I'm having some trouble sending data from a file, specifically a wavfile_source, to a usrp_sink_c. The block diagram is as follows: gr.wavfile_source ->blks2.rational_resampler_fff -> gr.float_to_complex ->usrp.sink_c. It doesn't give me any errors (other than a few "uU"s) but I get garbage on the other end of the transmission. I've tested out most of these parts individually, and they work fine. The usrp_sink works fine when I use the signal generator. I can read the wavfile_source, resample it, and pipe it to an audio_sink or a wavfile_sink and it does the resampling properly. Assuming I've done everything correctly, am I missing something? Is there some fundamental reason why one would be unable to read a file & send it via the usrp? I've gotten the reverse (usrp_source -> wavfile_sink) to work just fine. Any help would be appreciated. Justin P.S. I've tried both wavfile_source & file_source & neither work. I'm aware of the -1.0 to 1.0 normalization in wavfile_* & have commented that portion of the code out. If I get this to work, I'll write a wavfile_source & sink that do no rescaling & take shorts because I'm doing too many unecessary conversions.
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio