discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Failed to tune to low frequency with usrp.tune


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Failed to tune to low frequency with usrp.tune
Date: Wed, 22 Aug 2007 14:09:04 -0700
User-agent: Mutt/1.5.9i

On Wed, Aug 22, 2007 at 01:46:06PM -0700, Matt Ettus wrote:
> Bahn William L Civ USAFA/DFCS wrote:
> >   
> >> That is because the onboard VCO typically won't tune below 2.3 GHz.  You
> >> can change line 456 in gr-usrp/src/db_flexrf.py to allow you to try
> >> going lower.
> >>
> >> Matt
> >>     
> >
> > Is there someplace where the (nominal) tunable ranges of each of the 
> > daughterboards is available?
> >
> >   
> 
> In that same file
> 

Given an instance of the daughterboard in question, you can ask it:

  subdev.freq_range()

or

  subdev.gain_range()

for the valid gain ranges



>From the abstract daughterboard base class db_base.py:


    def freq_range(self):
        """
        Return range of frequencies in Hz that can be tuned by this d'board.

        @returns (min_freq, max_freq, step_size)
        @rtype tuple
        """
        raise NotImplementedError

    def gain_range(self):
        """
        Return range of gain that can be set by this d'board.

        @returns (min_gain, max_gain, step_size)
        Where gains are expressed in decibels (your mileage may vary)
        """
        raise NotImplementedError

Eric




reply via email to

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