CRC-Dwap.py

From Opendigitalradio
(Difference between revisions)
Jump to: navigation, search

Revision as of 19:33, 1 February 2010

CRC-Dwap.py is the USRP complex stream or file replayer command developed by Communication Research Center (CRC) from Canada. It is written in python and is open.

CRC-Dwap takes complex sample as input, configure the USRP and daughterboard and send it to the USRP that is producng the RF signal.

Remark about frequency argument

Frequency argument of CRC-Dwap.py can be either positive or negative. If it is negative, signal will be folded (or mirrored). This is useful for use with Basic TX broad for example as we use the image frequency for transmission. For DAB transmission in band III, we generally use:

  • BasicTX board: -frequency (negative)
  • WBX and RFX400 modified board: frequency (positive)

CRC-Dwap.py

Usage: CRC-Dwap.py [options] filename1 [-f frequency2 filename2 [...]]
Options:
  -h, --help            show this help message and exit
  -a, --agc             enable agc
  -c CLOCKRATE, --clockrate=CLOCKRATE
                        set USRP clock rate (128e6)
  --copy                enable real to imag data copy when in real mode
  -e ENCODING, --encoding=ENCODING
                        choose data encoding: [s]igned or [f]loat.
  -f FREQUENCY, --frequency=FREQUENCY
                        set output frequency (222.064e6)
  -g GAIN, --gain=GAIN  set output pga gain
  -l, --list            list USRPs and daugtherboards
  -m MODE, --mode=MODE  mode: 1: real, 2: complex (2)
  -o, --osc             enable oscilloscope
  -r SAMPLINGRATE, --samplingrate=SAMPLINGRATE
                        set input sampling rate (3200000)
  -s, --spectrum        enable spectrum analyzer
  -u, --usrp            enable USRP output
Personal tools