discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Recording Probe Rate or other Messages


From: CEL
Subject: Re: [Discuss-gnuradio] Recording Probe Rate or other Messages
Date: Sun, 30 Sep 2018 21:07:35 +0000

Hi David,

this would be an easy task for a four-lines-of-actual-code Python
block.

However, as much as I like GNU Radio (you'll find I like it a lot), is
this really a GNU Radio job? Your rate is proportional to the speed at
which your file is read, and you could do easy things like making a
named pipe (`man mkfifo`), use that in your file source and using `pv`
to feed that from a file, or something similar.

Best regards,
Marcus

On Thu, 2018-09-27 at 15:19 -0400, David Blake wrote:
> I have a flowgraph in which I can probe the rate using the "Probe
> Rate" block and I connect it to the "Message Debug" block as such:
> 
> self.msg_connect((self.blocks_probe_rate_0, 'rate'),
> (self.blocks_message_debug_0, 'print'))
> self.connect((self.blocks_file_source_0, 0),
> (self.blocks_probe_rate_0, 0))
> 
> Instead of sending the rate to the terminal to read, I would like to
> send it to a file for post processing. How can I do this in python?
> I'd also be fine getting the average rate over some time period and
> returning a single value.
> 
> Thanks!
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

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