discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gnuradio-companion : File Descriptor Source modul


From: Tom Crane
Subject: Re: [Discuss-gnuradio] gnuradio-companion : File Descriptor Source module usage
Date: Fri, 26 Jul 2019 03:51:05 +0100 (BST)
User-agent: Alpine 2.21 (LNX 202 2017-01-01)

On Tue, 23 Jul 2019, Kevin Reid wrote:

On Tue, Jul 23, 2019 at 8:33 PM Tom Crane <address@hidden> wrote:
      Can anyone explain how to use the File Descriptor Source module in
      gnuradio-companion?

      I am trying to write a flow-graph to read data from an arbitrary file,
      chosen via the GUI at run time?  This must be possible, right?  I can't
      see how to do it.


I don't have time to write a full explanation, but note that you want the File 
Source block, not the File Descriptor Source block. The File Descriptor Source 
is only really useful to read from standard input or for use in more complex 
programs than you can write
with GRC.

The File Source block takes a string for the filename. If you create a Variable 
block with a string value, you can enter the ID of the Variable instead of a 
filename, and then change that Variable using GUI in the usual fashion. I 
haven't tested this, but that's
how it should work.

Thanks.  That did work.
Tom.

reply via email to

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