discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Output not showing in GRC


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Output not showing in GRC
Date: Mon, 31 May 2010 15:02:05 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

the file sink is probably not flushing to disk (common issue).

Try using a head block and the run to completion option and see what happens. Upon completion, the file sink destructor will flush.

-Josh

On 05/31/2010 02:57 PM, Sammour wrote:

Hello guys,

As my first gnuradio block, I have built a block to multiply two complex
numbers using MATLAB library. I compiled my block and wrote a python
programme to test it and everything went very nicely. I used this c++
statement in the general_work method to see the output of the block:
            std::cout<<  out[i]<<  std::endl;
and indeed I can see the complex product for my inputs. However, when I
install my block in GRC, I connect the output to a file sink that stores
nothing! I also tried to plot the magnitude of the complex output and
nothing shows. The surprising part is that the output values of the above
c++ statement are printed in the output area in GRC and this means that my
c++ code is actually invoked.

I wonder if this has to do with library linking or not. Any suggestions??

Thanks a lot!

Sam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]