db_basic::db_basic_tx Class Reference

Inheritance diagram for db_basic::db_basic_tx:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
 Handler for Basic Tx 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_tx::__init__ (   self,
  usrp,
  which 
)

Handler for Basic Tx daughterboards.

Parameters:
usrp,: instance of usrp.source_c
which,: which side: 0 or 1 corresponding to TX_A or TX_B respectively

Reimplemented from db_base::db_base.

Reimplemented in db_basic::db_lf_tx.

def db_basic::db_basic_tx::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_tx.

def db_basic::db_basic_tx::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_tx::is_quadrature (   self  ) 

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

Reimplemented from db_base::db_base.

def db_basic::db_basic_tx::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_tx::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