|Subject:||[Discuss-gnuradio] Head block in GRC|
|Date:||Thu, 8 Apr 2010 12:56:21 -0700 (PDT)|
I am trying to use the head block in GRC to limit the amount of dat written to a file. Currently I have a very basic configuration set up in GRC with a file source(text data) set to repeat going into the head block going into a throttle to control the sampling rate and going into a file sink.
For the head block I have played around with the Number of Items and Vector Size parameters. I have been able to get it to work with some combinations of numbers but they didn't seem to follow any logical pattern. For example if I set the head block input to bytes, Num Items to 50, and Vector Size to 1 I would have thought I would geta 50 byte output file but the file was blank (0 bytes). Any idea on what could be causing this?
|[Prev in Thread]||Current Thread||[Next in Thread]|