While writing a custom block would give you some valuable experience, there are some other options.
1) You may be able to use some combination of the tag strobe block [1] together with the tagged file sink [2]. I'm thinking you could have two tag strobe blocks, one for the "burst" TRUE, and one for the burst FALSE. I haven't personally used this, but it's a quick solution to try. 2) If you are OK with chunking up the files afterwards, you can record one long file and then use the gr_fileman tool in gr-analysis [3]. Hope this helps, PWG [1] http://gnuradio.org/doc/doxygen/classgr_1_1blocks_1_1tags__strobe.html#details [2] http://gnuradio.org/doc/doxygen/classgr_1_1blocks_1_1tagged__file__sink.html#details [3] https://github.com/garverp/gr-analysis [https://avatars3.githubusercontent.com/u/9678523?v=3&s=400]<https://github.com/garverp/gr-analysis> GitHub - garverp/gr-analysis: Tools for High Sample Rate ...<https://github.com/garverp/gr-analysis> github.com These tools are primarily Linux-based. All tools but specrec should theoretically work, but untested on OSX/Windows. git clone https://github.com/garverp/gr-analysis ... ________________________________ From: Discuss-gnuradio <discuss-gnuradio-bounces+garverp=gatech....@gnu.org> on behalf of adrianapa <pablosanro...@live.com> Sent: Tuesday, November 1, 2016 5:54:32 AM To: Discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] Question about GNURADIO File sink I am a beginner in Python, I will see this tutorial. Thank you so much Marcus. Best regards, Pablo -- View this message in context: http://gnuradio.4.n7.nabble.com/Question-about-GNURADIO-File-sink-tp61841p61858.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list 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