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: Eric Blossom
Subject: Re: [Discuss-gnuradio] How to use the rx_decim and interp.
Date: Thu, 21 Jan 2010 14:57:13 -0800
User-agent: Mutt/1.5.20 (2009-08-17)

On Wed, Jan 20, 2010 at 12:02:16PM +0530, srinivas naga vutukuri wrote:
> 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?
> 

Please read:

  http://gnuradio.org/redmine/wiki/gnuradio/ReportingErrors

and try asking again.

Have you tried using the code we provide?  E.g., usrp_siggen.py or 
usrp2_rx_cfile.py?

Thanks,
Eric

> 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]