In the ‘…/gr-usrp/src/usrp1_source_c.cc’ file there is a function
‘copy_from_usrp_buffer’. I would like to analyze the complex signal
converted from 16-bit interleaved I and Q signal.
I have changed the ‘usrp1_source_c.cc’ file to open a file using
fstream class and copy the complex signal onto this file. I have
implemented this in the function ‘copy_from_buffer’. I built GNU
radio software again after the changes. I assumed this would work.
But it is not. I am sure to be missing something. Debug prints say
that this file is not being opened while this file can be opened by
any other C++ program that is not part of GNU software.
Or is there anything that I have to change in .i file as well?
Thanks for any and all help.