Hi Snehasish,
since this is defitnitely not your complete code, there's nothing we
can do to help you :(
Best regards,
Marcus
On Mon, 2018-04-02 at 19:13 +, Snehasish Kar wrote:
> Hello
>
> I was trying to generate a flow graph using file source descriptor and a file
> sink. But after generating the output instead of writing to the file, it
> prints the output in the screen. Below is the code. Please let me know where
> I am going wrong.
>
>
> gr::blocks::file_descriptor_source::sptr
> fileDescriptorSource(gr::blocks::file_descriptor_source::make(sizeof(std::complex)*20,clientSockfd,false));
>
> gr::blocks::file_sink::sptr
> filesink(gr::blocks::file_sink::make(sizeof(std::complex)*20,"/tmp/rx.bin",false));
> gr::top_block_sptr tb(gr::make_top_block("filedescriptor_test"));
>
> tb->connect(fileDescriptorSource,0,filesink,0);
>
> tb->start();
>
> tb->wait();
>
> BR
> Snehasish
>
>
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
smime.p7s
Description: S/MIME cryptographic signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio