Re: [Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format
On Fri, Nov 7, 2008 at 6:21 AM, Bruhtesfa Godana <[EMAIL PROTECTED]> wrote: > Hey slimchao, > > Thanks for the reply! I tried gr.file_sink(). > It writes something in a txt file, but when I open it it is not in readable > format. > Is there something that I can do to make it a readable .txt format for the > MAt lab, where every sampled value is written as float value on a new line? > > Thanks! gr.file_sink() writes it as a binary file, not a txt file. You can use the programs found in gnuradio-core/src/utils/read_float_binary.m etc to read those files from matlab or octave where you can resave them in a format that you want. Karthik ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format
Hey slimchao, Thanks for the reply! I tried gr.file_sink(). It writes something in a txt file, but when I open it it is not in readable format. Is there something that I can do to make it a readable .txt format for the MAt lab, where every sampled value is written as float value on a new line? Thanks! ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format
>> So, how can I do this in the Python? I want to do this because I prefer >> to do the signal processing on the baseband signal in Mat Lab > you can use gr.file_sink() to save your receive data. http://www.gnuradio.org/trac/wiki/Octave The directions are the same for Matlab. Jason ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format
Bruhtesfa Ebrahim wrote: > > Hey all, > > I want to store the signal I recieve from my USRP+XVR2450 in a text file, > in 2 columns(1st clumn time and 2nd column I and Q voltage levels from > USRP at each sampling time). > So, how can I do this in the Python? I want to do this because I prefer > to > do the signal processing on the baseband signal in Mat Lab(by importing > the > txt file data) rather than defining a new signal processing block in > python. > > > Thanks > > Bruhtesfa > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > Hi Bruhtesfa, you can use gr.file_sink() to save your receive data. Slimchao -- View this message in context: http://www.nabble.com/How-to-store-recieved-signal-%28time%2C-voltage%29-in-.txt-format-tp20378393p20378448.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format
Hey all, I want to store the signal I recieve from my USRP+XVR2450 in a text file, in 2 columns(1st clumn time and 2nd column I and Q voltage levels from USRP at each sampling time). So, how can I do this in the Python? I want to do this because I prefer to do the signal processing on the baseband signal in Mat Lab(by importing the txt file data) rather than defining a new signal processing block in python. Thanks Bruhtesfa ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio