I seem to be inheriting a project. The original developer used
usrp_fft.py and fftsink.py as
their starting point for some development work.
However, my mission is to take what they developed, and put it into a
box that
does not have any graphical interface.
Is there some example code showing how to access the usrp, and call the
underlying
fft libraries?
Thanks,
John C…
John C. wrote:
does not have any graphical interface.
Start by comparing these two files:
gnuradio/gnuradio-examples/python/usrp/usrp_wfm_rcv.py
gnuradio/gnuradio-examples/python/usrp/usrp_wfm_rcv_nogui.py
They receive FM and put it to the speakers. One with GUI, one without.
Chris
On Mon, Dec 04, 2006 at 04:41:25PM -0800, John C. wrote:
I seem to be inheriting a project. The original developer used
usrp_fft.py and fftsink.py as
their starting point for some development work.
However, my mission is to take what they developed, and put it into a
box that
does not have any graphical interface.
Is there some example code showing how to access the usrp, and call the
underlying fft libraries?
You’ve got all the code
Take a look at gnuradio-examples/python/usrp/*.py
The code for the fft sink is in gr-wxgui/src/python/fftsink.py
It strings together the low level blocks to get the job done.
usrp_spectrum_sense.py uses the fft block w/o a GUI
Eric
Eric B. schrieb:
Is there some example code showing how to access the usrp, and call the
underlying fft libraries?
You’ve got all the code
Yeah, that’s what I’m afraid of… until now I’ve only participated in a
support role of
getting the package up and running on a system for a developer to then
‘do their work’.
So, I’m not familiar with the environment much at all.
The unfortunate way the developer worked was to take something like
fftsink, rework
it to their ‘needs’, which basically boiled down to finding spectral
energy features. Unfortunately
I say, because their analysis code is intermingled with the fftsink
code, and so it is very
difficult for me, just coming on to things, figure out what is their
analysis algorithm, and what
is just there to put the data on a graphical window.
Had I been involved earlier on, I think I would have specified that
their analysis be written
as a module, and use a ‘tee’ sort of thing to extract data features,
while being able to
display graphical data for the amazement of all.
Take a look at gnuradio-examples/python/usrp/*.py
The code for the fft sink is in gr-wxgui/src/python/fftsink.py
It strings together the low level blocks to get the job done.
usrp_spectrum_sense.py uses the fft block w/o a GUI
I’ll look at that as soon as I gre the latest svn update, and go from
there.
Thanks
John C…