discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Latency due to hardware initialization


From: Marcus D. Leech
Subject: Re: Latency due to hardware initialization
Date: Tue, 25 Apr 2023 10:21:27 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 25/04/2023 02:23, Ahmad Oweis wrote:
Hi all,

I'm investigating the factors behind the latency in my simple GRC flow graph, I have a theory and I'd be grateful if someone can confirm it or refute it.

Say I have a simple flow graph consisting of a file source connected to a hardware sink.

My understanding: when I run the flow graph, the source starts producing samples and storing them in the buffer. In the meantime, the hardware sink is initializing (loading FPGA, etc.). Once the hardware is ready to transmit samples, it starts consuming from the buffer. This initialization delay adds to the overall system latency. Is this correct? or does the source only start producing samples after the hardware is initialized?

If my understanding is correct, how can we avoid this delay? Is there a way to ask the file source to wait until the hardware is ready and then start sending samples?

Thank you
--
Ahmad Oweis
Gnu Radio doesn't start running the graph until all the blocks in it are initialized--that includes hardware source/sinks.


reply via email to

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