Subject: [EXTERNAL] Re: Developing KrakenSDR Source
Oh, maybe the confusion is over how many items you need to output at one time.
You can hold on to your buffer - one get_iq_online() worth - until it is empty,
through multiple work() calls. Copy out min(amount_left_from_fetch,
output_items) and
>
> Oh, maybe the confusion is over how many items you need to output at one
> time. You can hold on to your buffer - one get_iq_online() worth - until it
> is empty, through multiple work() calls. Copy out
> min(amount_left_from_fetch, output_items) and return the number of items
> you copied (not
Oh, maybe the confusion is over how many items you need to output at one
time. You can hold on to your buffer - one get_iq_online() worth - until it
is empty, through multiple work() calls. Copy out
min(amount_left_from_fetch, output_items) and return the number of items
you copied (not the max siz
Output buffer size is adjustable - set_min_output_buffer(min_items) will
give a buffer that is at least num_items in size, but is often larger due
to alignment requirements. I wouldn't use vectors just to get around buffer
sizes. Very large buffers may not work due to the way they are allocated.
Gi
Thanks. I think it has to be a vector output.
It seems that if I'm using a stream output, and have decimation blocks
downstream, output_items in the source is always smaller than cpi_size, and
I can't fit the 2^20 array into output_items. I think it expects the source
to adjust its output buffer s
Once this is all working, you could have get_iq_online() work in a separate
thread so that you don't have to hit the network every time work() is
called. Maybe buffer a small number of frames in a queue.
On Tue, Aug 16, 2022 at 10:13 AM Jeff Long wrote:
> Hi Carl,
>
> Use vectors only if data al
Hi Carl,
Use vectors only if data always needs to be grouped in exact quantities,
e.g., if the GR flowgraph needs to always handle blocks of 2^20 items. In
general, a 5-channel stream would be more flexible. The variation in the
number of items would be due to the output buffer sometimes being emp
Hi All,
I'm currently working on a GNU Radio source block for the KrakenSDR. So far
my block mostly seems to work as expected, but I'm having some minor issues
and questions.
If you didn't know, the KrakenSDR is 5 RTL-SDR receivers, on the same clock
with a noise source for coherence calibration