discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] how to learn of decimation rate in general_work()


From: George Nychis
Subject: Re: [Discuss-gnuradio] how to learn of decimation rate in general_work() ?
Date: Tue, 7 Feb 2012 17:37:26 -0500


Hey George,

You can use the relative_rate data member of the blocks. Setting the decimation actually sets the relative_rate to 1.0/decimation. You can get this value with the accessor function "relative_rate()".


Hey Tom,
 
Using this I can get the decimation rate, but is there a way to get the rate of samples from the ADC?  That way I can compute the real clock time in-between samples.  For the USRP2, despite the ADC running running at 400Msps, it's rate through the FPGA is actually 100Msps, right?
reply via email to

[Prev in Thread] Current Thread [Next in Thread]