2007/7/19, Vincenzo Pellegrini <[EMAIL PROTECTED]>:
thanks Trond,

doesn't

gr.file_source--->usrp_sink

constrain me at the maximum speed of my hard drive?

and what whould be the right flow graph setup for buffering via
gr.vector_source,
 anything like:

gr.file_source--->data=gr.vector_sink
gr.vector_source(data, repeat=true)--->usrp_sink

would be correct?

No, if you use vector_source, you should not use the gr.file_source to
load the data. How you read the data from the file depends on the
format is is stored in, but if it data recorded with GNU Radio, I
personally use numpy/scipy. Python example:

from numpy import *
# Use complex64 for gr.gr_complex and float32 for gr.float
data = fromfile("filename.dat", dtype="complex64")
src = gr.vector_source(data, repeat=True)


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to