discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Understanding the interfence environment


From: Marcus Leech
Subject: Re: [Discuss-gnuradio] Understanding the interfence environment
Date: Wed, 06 Sep 2006 11:33:24 -0400
User-agent: Thunderbird 1.5.0.5 (X11/20060719)

Carlo E. Prelz wrote:

The actual code for setting frequency and gain (for daughterboard
dbs_rx) is found (in python!) in file

<source code of gnuradio>/gr-usrp/src/db_dbs_rx.py

(methods set_freq and set_gain). The procedure is quite abstruse and I
found no text document that would explain in a less terse format what
was done and why. I re-coded the process in C for a library to be
called from Ruby, but I have no certainty that the logic is
correct. If you want I can send you the code, but it has possibly less
documentation that the original python code (which is, I admit, quite
an achievement), and since I could not understand exactly what the
procedure was performing, I have no way to ascertain that my code is
correct.

Carlo

There's also usrp_fft.py in gnuradio-examples/python/usrp, which uses the high-level interface for setting frequency (xxxxxxx.tune()) and gain (xxxxxxx.set_gain()).
 Not particularly abstruse, IMHO.

Also, gr-radio-astronomy/src/python/usrp_ra_receiver.py and usrp_psr_receiver.py both
 use the xxxxx.tune() and xxxxx.set_gain()  interface functions.






reply via email to

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