discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] filesink to multiple files without dropping data


From: BuRaK
Subject: Re: [Discuss-gnuradio] filesink to multiple files without dropping data
Date: Mon, 16 Jan 2017 21:19:08 +0000 (UTC)

Thanks Marcus,
However, I would like to strictly limit the samplesize. If I use a controlport can I achieve this.
Is there an example that I can refer to? Because I did not quite get how to do it.
Thanks


On Tuesday, January 17, 2017 12:09 AM, "address@hidden" <address@hidden> wrote:


There are a whack of approaches to doing this.
The filename parameter of the filesink block is runtime changeable.
You could have an external process using controlport or xmlrpc to change this setting (from a variable) at regular intervals.  The existing file will be closed, and a new one started under whatever name you give it.
Or, you could start with the filesink block, and write a new one that implements your naming policy as you see fit.
 
 
 
On 2017-01-16 15:39, BuRaK wrote:
Hi all,
 
I am trying to do a simple task but could not decide how to approach and do it. 
 
I would like to collect data from usrp continuously. The filesize will be huge and what I would like to do is say if 10 minutes passed (or xxx samples are collected)
close file1.dat and open file2.dat and keep writing to that one. But I do not want to interrupt dataflow or lose any single sample. 
 
Would it be possible to do this through GRC or should I write a new block?
It would be great if somebody can help me through this. 
Thank you in advance. 

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

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