Tuesday, April 8, 2025

Changing the output file of 'File sink' block automatically

Hi

We are using the 'File sink' block to continuously stream data to output file. 
We want to change the name of the output file automatically, once a day. 

We could modify the Python program produced by GRC, as suggested at 

That method involves disconnecting the 'file sink' block, changing the name of the output file, and then connecting the file sink block again. But this means that we would miss some samples, which we do not want to do. 

Should we save the data into a buffer just before disconnecting the 'file sink' block, and then empty the buffer after the file sink block has been connected ?

We are using the Ettus USRP N210 receiver.

Cheers, Kimmo








No comments:

Post a Comment