[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] RE: USRP - radio astronomy
From: |
Lars E. Pettersson |
Subject: |
Re: [Discuss-gnuradio] RE: USRP - radio astronomy |
Date: |
Thu, 20 Dec 2007 14:44:52 +0100 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20071115) |
On 12/20/2007 12:04 PM, Lars E. Pettersson wrote:
On 12/19/2007 09:49 PM, Marcus Leech wrote:
I'm running Fedora Core 7, with all the updates. I built and tested
from the Gnu Radio developer tree a couple of weeks ago,
and everything was fine.
Ah, then it should work here also, fully updated Fedora 7 here also,
strange... What relevant compat-packages do you have installed? Could
perhaps be a difference there?
I looked around some more and finally got it working, see attached patch.
Lars
--
Lars E. Pettersson <address@hidden>
http://www.sm6rpz.se/
--- /usr/local/bin/usrp_ra_receiver.py 2007-12-12 13:22:53.000000000 +0100
+++ ./usrp_ra_receiver.py 2007-12-20 14:41:39.000000000 +0100
@@ -252,12 +252,12 @@
# Set up FFT display
if self.waterfall == False:
- self.scope = ra_fftsink.ra_fft_sink_c (self, panel,
+ self.scope = ra_fftsink.ra_fft_sink_c (panel,
fft_size=int(self.fft_size), sample_rate=self.fft_input_rate,
fft_rate=int(self.fft_rate), title="Spectral",
ofunc=self.fft_outfunc, xydfunc=self.xydfunc)
else:
- self.scope = ra_waterfallsink.waterfall_sink_c (self, panel,
+ self.scope = ra_waterfallsink.waterfall_sink_c (panel,
fft_size=int(self.fft_size), sample_rate=self.fft_input_rate,
fft_rate=int(self.fft_rate), title="Spectral",
ofunc=self.fft_outfunc, size=(1100, 600), xydfunc=self.xydfunc, ref_level=0,
span=10)
@@ -272,7 +272,7 @@
# Set up stripchart display
self.stripsize = int(options.stripsize)
if self.setimode == False:
- self.chart = ra_stripchartsink.stripchart_sink_f (self, panel,
+ self.chart = ra_stripchartsink.stripchart_sink_f (panel,
stripsize=self.stripsize,
title="Continuum",
xlabel="LMST Offset (Seconds)",