Re: [Discuss-gnuradio] Use of bin_statistics

2008-11-07 Thread Firas Abbas
Hi, >  Paul Mathews <[EMAIL PROTECTED]> wrote: > use "--tune-delay" with 10e-3 > > Based on the above, I'd expect an integer tune delay parameter. > Is 10e-3 just a way of specifying a value smaller than 1, so > there's no tune delay? The tune delay timing parameter passed to bin_statistics is

[Discuss-gnuradio] Use of bin_statistics

2008-11-07 Thread Paul Mathews
Working to understand sink block bin_statistics_f. Examining the User Manual, the sourcecode gr_bin_statistics_f.cc and related includes, and hacking qa_bin_statistics.py, this is my current understanding: 1. bin_statistics determines max values of vectors with length vlen over a number of samples

Re: [Discuss-gnuradio] usrp_server code

2008-11-07 Thread Eric Blossom
On Fri, Nov 07, 2008 at 01:53:11PM -0500, Achilleas Anastasopoulos wrote: > Hi, > > I am looking at the usrp_server code in the trunk and have the following > question. > > Is there any difference between a tx/rx "port" and a "channel"? > I see that the usrp_server is always initialized with N_PO

[Discuss-gnuradio] usrp_server code

2008-11-07 Thread Achilleas Anastasopoulos
Hi, I am looking at the usrp_server code in the trunk and have the following question. Is there any difference between a tx/rx "port" and a "channel"? I see that the usrp_server is always initialized with N_PORTS=4 tx and N_PORTS=4 rx ports (total of 8 + one control port), but later on, we on

Re: [Discuss-gnuradio] Help: How to convert a *.mat file to binary file?

2008-11-07 Thread Karthik Vijayraghavan
On Fri, Nov 7, 2008 at 3:58 AM, Jorg Lotze <[EMAIL PROTECTED]> wrote: > On Fri, 2008-11-07 at 02:06 -0800, slimchao wrote: > > Hallo Everyone, > > > > I have generated some samples of a sinesoid from Matlab and want to > convert > > it to a binary file and use it as a source signal to the LFTX > d

Re: [Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format

2008-11-07 Thread Karthik Vijayraghavan
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 forma

RE: [Discuss-gnuradio] USRP2 AttributeError: 'us rp2_source_32fc_sptr' object has no attribute 'adc_rate'¨

2008-11-07 Thread Newman, Timothy
The usrp2_fft python code was recently changed to use that adc_rate() call, although the actual implementation returns the value to the input pointer parameter. Just change that line in usrp2_fft back to what it was so you can at least test it: From: input_rate = self.u.adc_rate() / s

[Discuss-gnuradio] USRP2 AttributeError: 'usr p2_source_32fc_sptr' object has no attribute 'ad c_rate'¨

2008-11-07 Thread Catalin LACATUS
Hello, I tried to run usrp2_fft.py to test my USRP2 board and I got the following error. ¨AttributeError: 'usrp2_source_32fc_sptr' object has no attribute 'adc_rate'¨ ./find-usrps script is running fine with following result. 00:50:c2:85:30:0a hw_rev = 0x0300 My configuration is -Ubuntu 8.04, w

Re: [Discuss-gnuradio] Could this output be a problem with myHardware or the python codes?

2008-11-07 Thread Eric Blossom
On Fri, Nov 07, 2008 at 11:19:40AM +0100, Bruhtesfa Ebrahim wrote: > Hey Paul, > > Ya! you are correct, the isolation is a problem.But what is curious is when > i operate the transmitter and reciever simultaneously,the signal level of > the reciver decreases too much(cancels out) . If some of the

Re: [Discuss-gnuradio] JPEG Transmission via USRP

2008-11-07 Thread Pierre J.
Hi, a tutorial for image transmission has been published on tools4sdr.com : http://www.tools4sdr.com/articles/transmission+of+an+image+from+1+USRP+connected+to+a+PC+running+matlab+and+windows+to+another+PC+running+matlab+and+windows_2229210 It supposes 2 USRP and 2 PCs, and the toolbox that inte

Re: [Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format

2008-11-07 Thread Bruhtesfa Godana
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 l

Re: [Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format

2008-11-07 Thread Jason Uher
>> 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

Re: [Discuss-gnuradio] Help: How to convert a *.mat file to binary file?

2008-11-07 Thread Jorg Lotze
On Fri, 2008-11-07 at 02:06 -0800, slimchao wrote: > Hallo Everyone, > > I have generated some samples of a sinesoid from Matlab and want to convert > it to a binary file and use it as a source signal to the LFTX daughterboard. > Can you tell me how i do to convert it? > > Thanks a lot, > > C

Re: [Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format

2008-11-07 Thread slimchao
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 prefe

[Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format

2008-11-07 Thread Bruhtesfa Ebrahim
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 baseba

Re: [Discuss-gnuradio] Could this output be a problem with myHardware or the python codes?

2008-11-07 Thread Bruhtesfa Ebrahim
Hey Paul, Ya! you are correct, the isolation is a problem.But what is curious is when i operate the transmitter and reciever simultaneously,the signal level of the reciver decreases too much(cancels out) . If some of the signal from the transmitter antenna is also recived by the reciver antenna,

[Discuss-gnuradio] Help: How to convert a *.mat file to binary file?

2008-11-07 Thread slimchao
Hallo Everyone, I have generated some samples of a sinesoid from Matlab and want to convert it to a binary file and use it as a source signal to the LFTX daughterboard. Can you tell me how i do to convert it? Thanks a lot, Chao -- View this message in context: http://www.nabble.com/Help%

Re: [Discuss-gnuradio] gr.file_source problem

2008-11-07 Thread slimchao
Piotr Swiatkiewicz wrote: > > Hi, > > I am trying to feed samples from a file to the LFTX daughter board. > They were recorded using usrp_rx_cfile.py (from usrp.source_c). > I cannot see any real signal from LFTX when I run my script, > but fftsink2.fft_sink_c produces the correct spectrum whe