On 07/21/2011 08:28 AM, Yan Nie wrote:
>> well, sizeof(complex<short>) == sizeof(float), which means gnuradio will
>> let you connect those blocks, but that definitively wont work.
>>
>> For the UHD source, use COMPLEX_FLOAT32. For the FIR filter, use complex
>> input.
>>
>> gnuradio-companion might help you a lot:
>> http://en.wikipedia.org/wiki/GNU_Radio_Companion
> 
> I appreciate your reply. I changed the io type for UHD source and type of the 
> input for FIR filter, and got them matched, which leads the final result to 
> the right direction, but still not quite right. It is just a simple trial to 
> detect a 100kHz sinusoid signal and down convert the frequency to 1kHz. I am 
> expecting a 1kHz sinusoid wave from plotting, but it only gave some irregular 
> oscillation at the beginning. I am still confused that what could be the 
> problem here?
> 

I strongly suggest that you first experiment with the FIR filter using
gnuradio companion. You can do 100% simulation (signal source, noise
source), no hardware required.

-josh

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to