On 06/20/2013 03:46 PM, Burak TUYSUZ wrote:
Thanks Marcus for the information.
However, I did not understand at which point I should do that change.
Should I use gr_head so each file contains exact amount of samples? Is
there an example that I can refer to?
There's a set_file() method or some such on the file sink. Just call
that method any time you want to change the filename.
Now, if you're doing this in GRC, it's a bit trickier, because GRC isn't
"procedural". But for example, judicous use of a probe block
operating at a very low sample rate, and a helper function, could
allow you to change the filename at the rate of the probe
block.
--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio