On Tue, Apr 22, 2014 at 4:20 PM, Nemanja Savic <vlasi...@gmail.com> wrote:

> hi all guys,
>
> I would like to be able to store raw data into file after correct frame
> reception. For this reason I suppose there should be a block that buffers
> raw data and wait for the trigger to store into file.
> The trigger can only be sent from packet deframer after checking validity.
> So my questions are how could I synchronize those two blocks and what
> should be the minimum length of the buffer, and what would be the optimal
> way to do this, cause my processor is already under 90% of load.
>

The built-in File Sink block comes with option of "unbuffered" or
"buffered", but not any trigger as what you described above.
If workable, most likely you will need to create custom blocks for this.

Big buffer may seem to reduce CPU utilization, but it increases RAM usage
and latency. You may want to consider also your memory usage and latency,
in addition to the "90% of load".
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to