e.g. dst = gr.vector_sink_c ()
result = dst.data()
dump that result into a file using dump(result, the
handle of that file).
Thanks!
Bill
From: yufeng wang [email protected]
To: Bill S. [email protected]
Sent: Friday, April 10, 2009 6:17:49 PM
Subject: Re: [Discuss-gnuradio] QPSK phase noise
Thanks, Bill. I think we may also use the plot codes under the file
gr-utils, where plot_const.py and usrp_fft.py can be found. I have
used the usrp_fft.py to display the output signal, and I’m trying to
install scipy to enable the plot_const.py, etc. I also wanna load the
data using Matlab, I wonder how can you output the data to a sink
file? Thanks!
For the plots I am just using the gr_plot_const.py FILENAME.dat where
FILENAME.dat comes from connnecting the block of interest using
self.connect(self.receiver, gr.file_sink(gr.sizeof_gr_complex,
“FILENAME.dat”))
For the costas loop and BPSK constellations I was using a custom script
in
python that reads the output of a text file with the relevant
information
after enabling the DEBUG line of the mpsk_receiver.cpp: