[Discuss-gnuradio] gr.file_source cannot repeat reading on E1xx

2012-11-08 Thread Dekst
Hi, All, Because OFDM related processes have not been optimized on E1xx, we intend to transmit a binary file which saves the result of OFDM benchmark_tx.py. For debugging, it is useful to loop on a small binary file by gr.file_source(gr.sizeof_gr_complex, options.from_file, True). However, the s

Re: [Discuss-gnuradio] Separate samples from 2 receive channels (Josh Blum)

2012-11-08 Thread Dekst
09:55:34 -0800 >From: Josh Blum >To: discuss-gnuradio@gnu.org >Subject: Re: [Discuss-gnuradio] Separate samples from 2 receive >    channels >Message-ID: <509aa096.7090...@ettus.com> >Content-Type: text/plain; charset=ISO-8859-1 > > > >On 11/06/2012 11:15 PM, Dekst

[Discuss-gnuradio] Separate samples from 2 receive channels

2012-11-06 Thread Dekst
Hi, All, Can I use one USRP1 and two WBX daughterboards to create 2 concurrent complex receive channels so that I can compare them? If I use the rx_multi_samples.cpp example in uhd to receive samples from 2 channels (--subdev="A:0 B:0"), and add several lines from rx_samples_to_file.cpp like  

[Discuss-gnuradio] Wait for another thread to finish in the top block?

2012-06-21 Thread Dekst
Hi, All, For OFDM demodulation, in gnuradio/gr-digital/python/ofdm.py,  a _queue_watcher_thread is defined. It returns whether a packet is received correctly, what's the sequence number, and so on. I'm using gnuradio/gr-digital/examples/ofdm/benchmark_rx.py to decode samples saved by uhd/host/r

[Discuss-gnuradio] Install gnuradio on E100

2011-11-14 Thread Daniel Dekst
Hi, All, I try to reinstall gnuradio  (3.5.0rc0) on E100 with $ cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/arm_cortex_a8_native.cmake ../ $ make I got errors when build gruel. How can I fix it? Before this, I got errors for unidentified gcc when cmake, so I opkg remove gcc and then opkg in

Re: [Discuss-gnuradio] E100 Simultaneous Transmit and Receive

2011-11-03 Thread dekst
Hi, Marcus, If I use WBX, it will work? How to start coding? Is there any example or similar code? Thanks, dekst Marcus D. Leech wrote: > > On 03/11/2011 10:12 AM, Daniel Dekst wrote: >> Hi, All, >> >> Can I make E100 transmit and receive simultaneously? >> Bas

[Discuss-gnuradio] E100 Simultaneous Transmit and Receive

2011-11-03 Thread Daniel Dekst
Hi, All, Can I make E100 transmit and receive simultaneously? Basically, I want to receive what I'm transmitting. I'm using XCVR2450 daughterboard. Is there any example code? Thanks, dekst ___ Discuss-gnuradio mailing list Discuss-gnurad

Re: [Discuss-gnuradio] frequency synthesis

2011-10-25 Thread Daniel Dekst
Hi, Josh, Thanks a lot! They are results of two USRP1. Now I use USRP E100 to transmit, USRP1 to receive, I got http://www.cse.msu.edu/~huangpe3/usrp/e100tx_1r.png with rx_ascii_art_dft Seems there is no signal. I checked it with usrp_fft.py http://www.cse.msu.edu/~huangpe3/usrp/e100tx_usrp1r.png

[Discuss-gnuradio] frequency synthesis

2011-10-24 Thread Daniel Dekst
Hi, all, I used tx_waveforms in uhd to transmit a 0.5M sine wave on 5.5GHz. As we all know, Frequency(A) * Frequenc(B) = Frequency(A-B) + Frequency(A+B) I got two peaks at 5.4995GHz and 5.5005GHz when the tx_rate is 1M samples per second. http://www.cse.msu.edu/~huangpe3/usrp/1Mtx_05Msine.png I th

Re: [Discuss-gnuradio] New build structure! (Warning #2)

2011-10-21 Thread Daniel Dekst
> >Message: 23 >Date: Thu, 20 Oct 2011 22:46:48 -0700 >From: Josh Blum >To: discuss-gnuradio@gnu.org >Subject: Re: [Discuss-gnuradio] New build structure! (Warning #2) >Message-ID: <4ea10748.30...@ettus.com> >Content-Type: text/plain; charset=ISO-8859-1 >

Re: [Discuss-gnuradio] New build structure! (Warning #2)

2011-10-20 Thread Daniel Dekst
Tried on USRP E100 kernel module 3.0.0 Error when make. [ 13%] Building C object gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/dotprod_fff_armv7_a.c.o /program/gnuradio/gnuradio-core/src/lib/filter/dotprod_fff_armv7_a.c: In function 'dotprod_fff_armv7_a': /program/gnuradio/gnuradio-

[Discuss-gnuradio] USRP1 waveform

2011-02-15 Thread Daniel Dekst
Hi, All, I'm using USRP1 with XCVR2450 daughterboard. I transmit packets with OFDM modulation as in benchmark_ofdm_tx.py. Using usrp_fft.py I detect the wave form as http://www.cse.msu.edu/~huangpe3/music/usrp_fft.png The two edges are attenuated a lot and there is a spike in the middle (DC offs

[Discuss-gnuradio] clear file_sink every minute

2011-02-13 Thread Daniel Dekst
Hi, All, I average symbols' magnitude over a packet and output the value to a file_sink. self.connect(self.symbol_filt, gr.file_sink(gr.sizeof_double*self._occupied_tones, "ofdm_rss_f.dat")) Although I output a value every packet, the file I got has many zeros. Suppose I'm using 64 subcarriers w

Re: [Discuss-gnuradio] Add parameters to a C++ function

2010-11-08 Thread Daniel Dekst
Hi, Thilo, Thanks a lot for your help! We also need to modify the gr_ofdm_frame_sink.i and then it works. Good luck! Best, Pei --- On Mon, 11/8/10, Thilo Mönicke wrote: From: Thilo Mönicke Subject: Re: [Discuss-gnuradio] Add parameters to a C++ function To: "Daniel Dekst" Da

[Discuss-gnuradio] Add parameters to a C++ function

2010-11-08 Thread Daniel Dekst
Hi, all, I want to get the subcarrier SNR averaged across the whole packet. So I want to trigger the calculation in gr_ofdm_frame_acquisition.cc from gr_ofdm_frame_sink.cc where the packet header is examined to be correct or not. To achieve this, I add one parameter to the construction of gr_ofd