discuss-gnuradio
[Top][All Lists]
Advanced

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

RE: [Discuss-gnuradio] New OpenGL-based FFT, Waterfall, and Scope displa


From: Eric Schneider
Subject: RE: [Discuss-gnuradio] New OpenGL-based FFT, Waterfall, and Scope displays in trunk
Date: Mon, 18 Aug 2008 14:22:19 -0600

I was bit by this as well.  In my case I get the AttributeError error if
config.conf is missing or has a typo ("type=nogl").  A present and correct
config.conf works fine.

-----Original Message-----
From: Johnathan Corgan [mailto:address@hidden 
Sent: Monday, August 18, 2008 10:04 AM
To: Firas A.
Cc: address@hidden
Subject: Re: [Discuss-gnuradio] New OpenGL-based FFT, Waterfall, and Scope
displays in trunk

On Mon, Aug 18, 2008 at 4:57 AM, Firas A. <address@hidden> wrote:

> 2) I think screen refresh (drawing times) is too high (on my system) that
> leads to flickering.

You can lower the frame rate from the default of 30 by adding the
following line(s) to your config.conf:

[wxgui]
fft_rate=15 (...or whatever frame rate you want)

This will work with either the old or the new sinks.

>  File "./usrp_fft.py", line 122, in __init__
>    self.scope = fftsink2.fft_sink_c (panel, fft_size=1024,
> sample_rate=input_rate,
> AttributeError: 'module' object has no attribute 'fft_sink_c'

Please see if you can duplicate this problem.  What directory were you
running 'usrp_fft.py' from?

> as mentioned in "README.gl", creating the file ~/.gnuradio/config.conf
> removed the error and everything was working fine in the second
usrp_fft.py
> shot.

Actually, if the config.conf is missing, the software just defaults to
the non-gl implementation, so this shouldn't have made a difference.

> I think this file should be creating automatically with the option
> style=gl (or at least style = auto)

Since this is still experimental code in the trunk, we default to not
using it until someone explicitly enables it.  In release 3.2, it will
become the default unless GL support is missing, then will fall back
to using the non-GL version.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com/


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio





reply via email to

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