discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Oscope sink + small sample source file


From: Justin Shaw
Subject: Re: [Discuss-gnuradio] Oscope sink + small sample source file
Date: Tue, 10 Jul 2007 18:25:55 -0400
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)

...or matplotlib, see http://matplotlib.sourceforge.net/

Jeffrey Karrels wrote:
I guess I have MATLAB on this machine for a reason... Maybe I should use it.

Thanks

On 7/10/07, Matt Ettus <address@hidden> wrote:

The scope does not display every sample.  It only redraws at about 20 or
25 Hz as I remember, and is really only intended for continuous streams
of data.

Matt

Jeffrey Karrels wrote:
> Hello all
>
> Let me try and explain my issue.
>
> I have a file source connected to a filter and a scope sink.  I see
> that my scope only displays data if the source file is size x or
> greater. (around 2100 samples in my case). In cases where the input
> source file is smaller than x I get a blank (white) scope screen.  Can
> someone explain to me what is going on there? Is there a way to
> display smaller files? (or do I just have an error in my methodology?)
>
>
> Thanks
> Jeff
>
> #########
> ...
> sps    = usrp_rate / options.decim_rate
>
> #Setup scopes
> self.scope1 = scopesink.scope_sink_f(self, panel, sample_rate=sps)
>
> self._build_gui(vbox)
>
> #Data source files
> signal_src = gr.file_source(gr.sizeof_gr_complex, options.signal_file)
>
>
> #Filter Signal Data
> xtaps_signal = gr.firdes.low_pass(1.0, sps, filter_cutoff,
> filter_transition_width,gr.firdes.WIN_HAMMING)
>
> xfilter_signal = gr.freq_xlating_fir_filter_ccf(1, xtaps_signal,
> offset, sps)
>     self.connect(signal_src,xfilter_signal)
>
> c2r1 = gr.complex_to_real()
>
> self.connect(xfilter_signal, c2r1, (self.scope1,0))
> ...
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio




_______________________________________________
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]