You first need a file sink block capable of doing this. I would probably make a 
file sink that can take in a message to start and stop recording. Then, just 
have a QT GUI widget send the appropriate message. It's possible you may be 
able to do this with a tagged file sink/ existing components, but I'd have to 
think a bit more on that.

I don't see any reason why it's not possible.

Paul Garver


On Nov 15, 2016, at 3:00 AM, Ajie Nayaka Nikicio 
<ele...@nus.edu.sg<mailto:ele...@nus.edu.sg>> wrote:

Hi,

I wonder if it's possible to enable/disable the file sink in GUI, i.e. 
essentially start/stop file saving after running the flowgraph in GUI by an 
input from the user (e.g. click of a button)?

Thanks a lot!
Ajie

________________________________

Important: This email is confidential and may be privileged. If you are not the 
intended recipient, please delete it and notify us immediately; you should not 
copy or use it for any purpose, nor disclose its contents to any other person. 
Thank you.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org<mailto:Discuss-gnuradio@gnu.org>
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to