[Top][All Lists]

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

Re: [Discuss-gnuradio] Controlling File Sink

From: Ali Riaz
Subject: Re: [Discuss-gnuradio] Controlling File Sink
Date: Fri, 13 Mar 2015 17:37:08 -0500

Hey Richard,

I looked at your previous post, and turns out that I actually have a similar need; I'm trying to figure out a way to control the functionality of the tagged file sink because I don't want it to create so many files lol (I'd just like it to place everything in one file).

So I was thinking, since we already have the source code for these blocks, and there's a nice tutorial on how to write blocks either in c++ or python at http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules, so a good starting point would be to create our own version of the block, and use the current source code as a starting point in adding the extra functionality that's needed.


On Fri, Mar 13, 2015 at 12:32 PM, Martin Braun <address@hidden> wrote:
On 12.03.2015 11:36, Richard Bell wrote:
Hello all,

In GRC, I've set up a packet detector that is working using the Header
Payload Demux block. Unexpectedly, however, it seems the payload output
port does not go silent when no header is detected. It outputs zeros,
which the file sink block I have connected to that port then stores.


the HPD does *not* output zeros between bursts. It will send out whatever the header return message tells it to output. Check the OFDM examples for how these things happen. You can add message probes to see what exactly is encoded by the messages.


Discuss-gnuradio mailing list

reply via email to

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