Just a note that the file-sink block takes a runtime-settable parameter for the file name. In GRC, make this a variable, and link it to a text entry field, and Bob's your uncle. This doesn't have the "file browser" aspects, but it achieves a big part of the goal.
on Nov 20, 2013, Nowlan, Sean <[email protected]> wrote:
You could have a text box with a file open dialog, and the callback would lock/stop the flowgraph, give the returned file path string to a file_source block, and then unlock/start the flowgraph.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of M Dammer
Sent: Wednesday, November 20, 2013 10:12 AM
To: [email protected]
Subject: Re: [Discuss-gnuradio] GRC: File/Path browser in QT or WX gui ?
I was thinking about people who just load a flowgraph and start it. In this case it would be very convenient to have all parameters that need adjusting (including filepath) in the GUI.
greetings, Mark
On 20/11/13 15:07, Marcus Müller wrote:
> I think that would be possible; however, before you start coding it
> yourself, please consider the use case:
> In most cases, things like "I want to read that file" are considered
> before starting a flow graph.
>
> Greetings,
> Marcus
>
> On 20.11.2013 15:08, M Dammer wrote:
>> I am looking for a standard file browser widget for a QT or Wx based
>> GUI. You browse the filesystem and the moment you click "o.k." the
>> choosen path is put into a variable that can be used within your
>> flowgraph. Is this possible ? Currently the only option I see is to
>> set the filename/path within the flowgraph (e.g. WAV sinks/sources).
>> Mark
>>
>>
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
