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