Hi Laura,

With 16 bit samples, the default, a 1 Gigabit Ethernet link can only carry
25 MS/s. Thankfully, that's complex IQ samples, so while Nyquist applies
the bandwidth is 1x the highest frequency.
http://files.ettus.com/manual/page_usrp2.html

The N200 has a fixed master clock rate (ADC/DAC rate) of 100 MHz. Only
integer factors of that will be possible, if you look at your console
output there should be a line saying that 40 MS/s is not a possible value
and it is being set to a different one, either 25 MS/s or 50 MS/s. Either
of those isn't what you are expecting so your flowgraph will not produce
the correct values. 25 MS/s would be the best rate for you to use as it
fits your 20 MHz wide signal with some margin on either side to accommodate
filter roll off. It is also an even divisor of the master clock rate so
you'll have better filter performance than using a rate that is an odd
divisor.

Can you please test with the benchmark_rate that comes with UHD to see if
your system is setup to transport samples at that rate?

You may also find that it is harder to write 25 MS/s (200 MB/s) to a
harddrive than it is to run the waterfall plotting.

Regards,
Derek

On Tue, May 1, 2018 at 2:15 PM, Laura Huddleston <
laura.huddles...@ierustech.com> wrote:

> I have attached them now. sorry about that.
>
> the sample rate is 40MHz because I am trying to send a chirp over 20MHz,
> so I figured with nyquist's theorem (sampling rate 2x highest frequency),
> that would be the correct one. However any sample rate above ~10MHz causes
> my grc window to freeze.
>
> Thanks for your response!!
> Laura
> ________________________________________
> From: Maximilian Stiefel [stiefel.maximil...@online.de]
> Sent: Friday, April 27, 2018 6:46 PM
> To: Laura Huddleston
> Cc: discuss-gnuradio@gnu.org
> Subject: Re: [Discuss-gnuradio] Frequency hopping code printing UUUUU
>
> Hello Laura,
>
> It is definitely not afternoon here in Sweden. There is no flowgraph
> attached. Happens to me as well, every time ;)
>
> This output usually indicates you are doing are something, that causes
> samples to be dropped, i.e. not transmitted, because something is not fast
> enough.
>
> What sample rate are we talking about?
>
> Cheers,
>
> Max
>
> Lördag den 28 april 2018 skrev Laura Huddleston:
> >
> > Good afternoon,
> >
> > I am creating a flowgraph that will chirp and then hop center frequency
> and repeat.
> >
> > This is on the ettus n200 with a cable connection the transmit to the
> receive port.
> >
> > The code worked perfectly until I increased the range of the chirp and
> subsequently the sample rate. Now every time I run the code, it outputs
> UUUUUUUUUUU and freezes the GRC window even after closing the pop up window
> printing out the center frequency.
> >
> > Until recently it was graphing the received data on a waterfall plot,
> but I assumed that was the reason the computer couldn't process the higher
> sample rate, so I replaced it with several file meta sinks to prove the
> data was what it was supposed to be.
> >
> > Thanks for any help you can provide,
> > attached is the flowgraph
> >
> > Laura
> >
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to