Data not written to filesink in gnuradio

2019-07-12 15:25发布

Here is my simple flow graph.

File Source > Throttle > File Sink

It works fine when the repeat value of File Source is on. When i turn off the repeat value of File Source, nothing gets written. what could be the reason for this?

1条回答
Ridiculous、
2楼-- · 2019-07-12 15:52

Buffering of the GNU Radio scheduler between the blocks may be the cause of your problem. Especially, if the sampling rate of the throttle is slow. Furthermore, the file sink block uses the fwrite() function that also performs some buffering to increase the throughput. You can inform the file sink block to flush immediately the fwrite() buffer, setting the Unbuffered parameter to On from the gnuradio-companion GUI.

查看更多
登录 后发表回答