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
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio