discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] multiple asynchronous channels in parallel


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] multiple asynchronous channels in parallel
Date: Tue, 17 Sep 2013 10:19:20 -0400

On Tue, Sep 17, 2013 at 4:50 AM, Alyafawi <address@hidden> wrote:
> Hello list,
>
> I am trying to build a real-time signal processing system that captures wide
> signal bandwidth(contains multiple channels) using 1 USRP, then send it to
> parallel signal chains after spiting them using filters.
> The system works for a short period and exit with segfault. (the single
> channel is completely stable)
> The channels contain asynchronous data packets and some are empty. This
> yield to have different processing speed based on the channel contents.
> After all, some channels are consuming samples faster than others.
> consume_each function update the read-write pointers faster which "might" be
> the cause of the segfault I am getting.
>
> Is there any limitation on real-processing of multiple channel in current
> gnu-radio implementation (from the consume_each criteria)?

Nope. This behavior should be absolutely fine. And anyways shouldn't
result in a segfault. Are you using your own blocks in this setup? If
so, double check them to make sure you're doing all the right
book-keeping with the consume/produce methods. That tends to be where
people have issues.

If it's all blocks that come with GNU Radio, can you post the
flowgraph? We should really not be seeing segfaults.

> If not, is there any example of multiple asynchronous channel capturing/
> processing, that helps to track the problem source?

Not off the top of my head, at least with examples that come with GNU Radio.

> Regards,
> Alyafawi



-- 
Tom
Visit us at GRCon13 Oct. 1 - 4
http://www.trondeau.com/grcon13



reply via email to

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