discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Scope windows freeze


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Scope windows freeze
Date: Wed, 09 Jan 2013 20:37:56 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

Put a throttle in the flowgraph after your signal source. When you aren't using real hardware as part of a flowgraph, you have to throttle the flowgraph or it will run as fast as possible and consume all available CPU.

--n
To expand on that, only a *hardware endpoint* or a *throttle* block makes any sample-rate notion actually "real" in the temporal sense.

Nearly all of the blocks in Gnu Radio simply use any sample-rate parameter input to calculate internal parameters (for example, when calculating
  filter coefficients, the sample rate is used to calculate the normalized-equivalent filter from the input parameters).  Internal to a flow-graph,
  Gnu Radio is entirely stream oriented, it has no inherent notions of samples rates -- everything is just a stream of samples that flow past
  at whatever rate they flow past at, and block functions simply operate on whatever data they get, at whatever times they get that data.
  The implication of that is that without either a throttle block, or actual hardware to "pace" samples at the expected temporal pace, things will
  simply run flat-out.

Even the signal-source block, which takes a sample-rate input parameter, simply uses that parameter to calculate the internal phase accumulator
  increments, it makes no attempt to actually supply samples at the desired rate.



On 01/09/2013 04:54 PM, José María Valencia wrote:

Why the scope sink window is freeze when I run this simulation (see the image) and some buttons are not visible?

<<...>>


single_tone_usrp_tx_rx_FM.grc.png



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

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


-- 
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

reply via email to

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