Hi Haaris,

as said in my stackoverflow response [1], it's really not a good idea to
modify file_sink – you really just want modify the item stream, so do
that in a block you add before your file_sink.

If you've installed GNU Radio as binary package, then the source code
will not be anywhere – if you want to modify GNU Radio, you'd have to
build it from source yourself, and in that case, you'd probably know
where the source code was :D

Best regards,
Marcus

[1] http://stackoverflow.com/a/37053032/4433386

On 05.05.2016 21:09, Haaris wrote:
> Hi Marcus,
>
> Thanks a lot for the reply.
> The screen shot of the flow graph is present below.
>
> http://pasteboard.co/HzDBxB6.png
>
> One more thing is that where in ubuntu is file_sink.cc or the C++
> files of blocks present?
> I searched the whole computer for '.cc' and found no .cc gnu radio
> block file.
> I think I can easily change the C++ code to solve this problem.
> Please don't recommend adding a new block, because I have tried that 2
> or 3 times and it just does not work.
> There are different errors everytime I try to add a new block,
> sometimes gnu radio just doesn't pick it up etc.
> Moreover there is also not much time left now, before my demo.
>
> Thanks once again for your time.
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

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

Reply via email to