discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] How to use the rx_decim and interp.


From: srinivas naga vutukuri
Subject: Re: [Discuss-gnuradio] How to use the rx_decim and interp.
Date: Wed, 20 Jan 2010 12:02:16 +0530
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Yes, now correctly calling those two members, got 100M on ADC and DAC. But when i use interp = 4 and rx_decim = 4 what ever input samples tranmsitting is not correctly coming out? Any thought on this?


best regards,
srinivas.

Eric Blossom wrote:
On Tue, Jan 19, 2010 at 05:17:56PM +0530, srinivas naga vutukuri wrote:
And also am trying to understand the ADC/DAC rates. I just put the
usrp2::impl::adc_rate(), usrp2::impl::dac_rate() in the constructor
usrp2::impl::impl() to see, i got both values printed as 1,
(assuming 1 MHz or 1 MS/s). But from gnuradio.org site, i saw that
ADCs (100 MS/s) and DAC (400 MS/s). So can able to set these values
also?

A quick look at the documentation or code will reveal that these
functions return a bool for success or failure, and the actual value
by reference:

http://gnuradio.org/doc/doxygen/classusrp2_1_1usrp2.html

     // Get Sampling rate of A/D converter in Hz
    bool adc_rate(long *rate);

    // Get Sampling rate of D/A converter in Hz
    bool dac_rate(long *rate);

Eric






reply via email to

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