db_basic::db_basic_rx Class Reference

Inheritance diagram for db_basic::db_basic_rx:

Inheritance graph
[legend]
Collaboration diagram for db_basic::db_basic_rx:

Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
 Handler for Basic Rx daughterboards.
def freq_range
 Return range of frequencies in Hz that can be tuned by this d'board.
def set_freq
 Set the frequency.
def gain_range
 Return range of gain that can be set by this d'board.
def set_gain
 Set the gain.
def is_quadrature
 Return True if this board requires both I & Q analog channels.


Member Function Documentation

def db_basic::db_basic_rx::__init__ (   self,
  usrp,
  which,
  subdev 
)

Handler for Basic Rx daughterboards.

Parameters:
usrp,: instance of usrp.source_c
which,: which side: 0 or 1 corresponding to RX_A or RX_B respectively
subdev,: which analog i/o channel: 0 or 1 subdev: int

Reimplemented in db_basic::db_lf_rx.

def db_basic::db_basic_rx::freq_range (   self  ) 

Return range of frequencies in Hz that can be tuned by this d'board.

Returns:
(min_freq, max_freq, step_size) tuple
We say we can do pretty much anything...

Reimplemented from db_base::db_base.

Reimplemented in db_basic::db_lf_rx.

def db_basic::db_basic_rx::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)

Reimplemented from db_base::db_base.

def db_basic::db_basic_rx::is_quadrature (   self  ) 

Return True if this board requires both I & Q analog channels.

This bit of info is useful when setting up the USRP Rx mux register.

Reimplemented from db_base::db_base.

def db_basic::db_basic_rx::set_freq (   self,
  target_freq 
)

Set the frequency.

Parameters:
freq,: target RF frequency in Hz freq: float
Returns:
(ok, actual_baseband_freq) where: ok is True or False and indicates success or failure, actual_baseband_freq is the RF frequency that corresponds to DC in the IF.

Reimplemented from db_base::db_base.

def db_basic::db_basic_rx::set_gain (   self,
  gain 
)

Set the gain.

Parameters:
gain,: gain in decibels
Returns:
True/False

Reimplemented from db_base::db_base.


The documentation for this class was generated from the following file:

Generated on Thu Mar 5 09:03:48 2009 for GNU Radio 3.1.3 by  doxygen 1.5.8