[Discuss-gnuradio] transmitting continuously but in receiver side i find the data seems discontinuously transmitted

2010-07-28 Thread weizhongshan
hello everyone !
i use benchmark_ofdm_tx  to tramsmit  data continuously .but in the receiver 
side ,i get serveral packets ,then a serial of noisy, and then useful packets 
again .the packets seem discontinuously transmitted .i wonder why .
  in my program both fusb_nblock and fusb_block_size are zero ,and my packet 
size is 320 bytes , i guess maybe the problem lies here.  may somebody give me 
a clue?




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


[Discuss-gnuradio] write my own module ,but get an import error

2010-07-01 Thread weizhongshan
I am  trying to write my own module ,"make" ,"make check" and "make install" 
are all ok ,but when i use it in my own module ,i get the following error:
ImportError: /usr/loca/lib/python2.6/dist-packages/gnuradio/_mimo.so: undefined 
symbol: _Z25mimo_make_ofdm_mapper_bcvRKSt6vectorISt7complexIfESaIS1_EEjjj

i met  a helper in a forum ,he tested my module in his pc ,and it is ok, i am 
totally lost .
   really need your help 
  wei 



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


[Discuss-gnuradio] ofdm_frame_acquisition module

2010-06-29 Thread weizhongshan
   in gr_ofdm_frame_acquisition.cc file ,the coarse frequency compensation is 
gr_expj(-2*PI*freq_delta*d_cplen/d_fft_length*symbol_count)
 .i don't know why ,could somebody give me an explanation or tell me which 
peper i can refer to ?
  thanks in advance 


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


[Discuss-gnuradio] Re:benchmark_ofdm problem

2010-06-16 Thread weizhongshan
hello everyone !
i'm testing the benchmark_ofdm modules.i'm using rfx2400 db ,so i set rx and tx 
frequency to 2.45G and 
in transmitting side i set "--tx-amplitude=1  -s 32" .but i got the 
following results,it seems that i have lost most of the packets,why?
 
ok: True  pktno: 1840  n_rcvd: 342  n_right: 336
ok: True  pktno: 1841  n_rcvd: 343  n_right: 337
ok: True  pktno: 1842  n_rcvd: 344  n_right: 338
ok: True  pktno: 1844  n_rcvd: 345  n_right: 339
ok: True  pktno: 1845  n_rcvd: 346  n_right: 340
ok: True  pktno: 1849  n_rcvd: 347  n_right: 341
ok: True  pktno: 1851  n_rcvd: 348  n_right: 342
ok: True  pktno: 1852  n_rcvd: 349  n_right: 343
ok: True  pktno: 1855  n_rcvd: 350  n_right: 344
ok: True  pktno: 1859  n_rcvd: 351  n_right: 345

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


[Discuss-gnuradio] how to make my own block

2010-06-10 Thread weizhongshan
hello everyone!
I am learning to make my own block.In  gr-howto-write-a-block-3.2/src/lib 
directory ,I delete the former .h and .c files ,and write my own .h and .c 
files .after modifying the howto.i ,I make and build everything successfullly 
.then I chang to the gr-howto-write-a-block-3.2 directory . " ./bootstrap "and 
"make" are successful ,but when  i make check ,i fail and get the following 
message
"  File "./qa_howto.py", line 24, in 
import qpsk
ImportError: No module named qpsk".(i am trying to write a qpsk module)
waiting for help



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


Re:Re: [Discuss-gnuradio] usrp mimo question

2010-06-02 Thread weizhongshan
thanks mattso 2 usrps and 4 rfx dbs is enough for me ,and in usrp 
multi-signals can be simultaneous.while when i send a 50K frequency signal ,and 
receive it from two antennas ,through oscope i find the two IQ signals are not  
synchronous,signal from the second antenna seems 1/4 wavelength ahead of that 
from the first one .  do i have to modify the rfx2400 ? and another question , 
when i set the mux to "32103210" ,both channel get nothing but noise ,and set 
to "33221100",get the asynchronous signals mentioned above .why? i think it 
should be "32103210".   really appreciate your help   
wei在2010-06-03 00:42:52,"Matt Ettus"  写道:
>On 06/01/2010 03:18 AM, weizhongshan wrote:
>> sos!
>> i want to realize a 2*2 mimo simplex communication system .since rfx
>> daughterboards can transmit/receive 2 complex IO signals, i thought 2
>> usrp and 4 rfx_daughterboards is enough for me .but now i am wonfering
>> whether usrp can transmit/receive multiple signals simultaneously.could
>> somebody give a clue
>> wei
>
>Yes.
>
>You can make a 2x2 MIMO node (meaning 2TX and 2RX) using a single USRP1 
>with 2 RFX-series, WBX, or XCVR2450 daughterboards.  You then need 
>another set for the other side of the link.
>
>Matt


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


[Discuss-gnuradio] usrp mimo question

2010-06-01 Thread weizhongshan
sos!
i want to realize a 2*2 mimo simplex communication system .since rfx 
daughterboards can transmit/receive 2 complex IO signals, i thought 2 usrp and 
4 rfx_daughterboards  is enough for me .but now i am wonfering whether usrp can 
transmit/receive multiple signals simultaneously.could somebody give a clue
   wei
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re:Re: [Discuss-gnuradio] usrp mux question

2010-05-31 Thread weizhongshan
thanks Thomas!
i didn't state it clearly .i want to realize a MIMO system ,so I use two 
channels .and my daughterboards are RFX2400 MIMO B .
and another problem appears。in the receiver ,since the two channels receive the 
same signal simultaneously,i thought the two received signals from the two 
channels should be more or less the same(though they may go through different 
shading).but through the graph i find the signal from channel two seems 1/4 λ 
ahead of that from channel one在2010-05-31 23:43:54,"Thomas Tsou" 
 写道:
>2010/5/31 weizhongshan :
>> hello every !
>> i use one usrp to transmit complex gr_sin_wave,and use another two_channel
>> usrp as the receiver.
>> i thought the mux should be set to "32103210",but when i did this ,i got
>> nothing but noisy .then i changed the mux to "33221100",i got the ecpected
>> orthogonal sin and cos wave .that confuses me
>
>What is your daughterboard setup and why are you using 2 channels?
>With 2 channels, the default "32103210" value uses all four ADC's and
>the first 2 DDC's. It sounds like you only want to read one channel
>and output separated I and Q components.
>
>  Thomas


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


[Discuss-gnuradio] usrp mux question

2010-05-31 Thread weizhongshan
hello every !
i use one usrp to transmit complex gr_sin_wave,and use another two_channel  
usrp as the receiver.
i thought the mux should be set to "32103210",but when i did this ,i got 
nothing but noisy .then i changed the mux to "33221100",i got the ecpected 
orthogonal sin and cos wave .that confuses me 

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


[Discuss-gnuradio] Re:"uU" 26

2010-05-30 Thread weizhongshan
hi,Eric!
I have tested the usrp_siggen.py ,it works well.and I set the interpolate in my 
module to 128,it works too.so it seems my pc can only stand with 2 M speed ,but 
why the C++ program woks too?
thanks a lot在2010-05-29 04:44:57,"Eric Blossom"  写道:
>On Fri, May 28, 2010 at 10:33:56AM +0800, weizhongshan wrote:
>> thanks Eric
>> I am sorry ,I will not do that again .but would you please help me figure 
>> out this problem. as I mentioned the USB speed is not a problem.and i have 
>> another C++ problem test_usrp ,it's a one channel receiver , the decim is 
>> set to 8.and it does work without any trouble .so i think my pc can keep up 
>> with the speed在2010-05-28 02:35:37,"Eric Blossom"  
>> 写道:
>> >On Thu, May 27, 2010 at 05:29:56PM +0800, weizhongshan wrote:
>> >> hello everyone ,I want to use the fm_tx_2_daughters.py as a template to 
>> >> realize my own module ,so  I copy it to my own folder.
>> >> but when I set the interpolate to 64 and test the copy module ,"uU" 
>> >> appears.then I run the usrp_benchmark_usb.py,the result shows "Max 
>> >> USB/USRP throughput = 32MB/sec".I wonder the "uU" appears
>> >>thanks forward在2010-05-27 
>> >> 00:00:43,discuss-gnuradio-requ...@gnu.org 写道:
>
>Does usrp_siggen.py work for you?
>
>Eric
>
>
>> >Perhaps your machine can't keep up?
>> >uU is "USRP Underrun".  You failed to send it samples fast enough.
>> >
>> >[Also, please don't top-post in general, and never top post on top of
>> >the digest.  Pick a relevant subject, trim all unnecessary text from
>> >anything you're replying to.  If you're starting a new thread, don't
>> >start by replying to an existing (non-relevant) thread.
>> >
>> >See also:
>> >
>> >  http://gnuradio.org/redmine/wiki/gnuradio/ReportingErrors
>> >
>> >Eric
>> 


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


Re:Re: [Discuss-gnuradio] Re:Discuss-gnuradio Digest, Vol 90, Issue 26

2010-05-27 Thread weizhongshan
thanks Eric
I am sorry ,I will not do that again .but would you please help me figure out 
this problem. as I mentioned the USB speed is not a problem.and i have another 
C++ problem test_usrp ,it's a one channel receiver , the decim is set to 8.and 
it does work without any trouble .so i think my pc can keep up with the 
speed在2010-05-28 02:35:37,"Eric Blossom"  写道:
>On Thu, May 27, 2010 at 05:29:56PM +0800, weizhongshan wrote:
>> hello everyone ,I want to use the fm_tx_2_daughters.py as a template to 
>> realize my own module ,so  I copy it to my own folder.
>> but when I set the interpolate to 64 and test the copy module ,"uU" 
>> appears.then I run the usrp_benchmark_usb.py,the result shows "Max USB/USRP 
>> throughput = 32MB/sec".I wonder the "uU" appears
>>thanks forward在2010-05-27 
>> 00:00:43,discuss-gnuradio-requ...@gnu.org 写道:
>
>Perhaps your machine can't keep up?
>uU is "USRP Underrun".  You failed to send it samples fast enough.
>
>[Also, please don't top-post in general, and never top post on top of
>the digest.  Pick a relevant subject, trim all unnecessary text from
>anything you're replying to.  If you're starting a new thread, don't
>start by replying to an existing (non-relevant) thread.
>
>See also:
>
>  http://gnuradio.org/redmine/wiki/gnuradio/ReportingErrors
>
>Eric


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


[Discuss-gnuradio] usrp1 data rate problem

2010-05-27 Thread weizhongshan
 hello everyone ,I want to use the fm_tx_2_daughters.py as a template to 
realize my own module ,so  I copy it to my own folder. but when I set the 
interpolate to 64 and test the copy module ,"uU" appears.then I run the 
usrp_benchmark_usb.py,the result shows "Max USB/USRP throughput = 32MB/sec".I 
wonder why the "uU" appears. and i am sure my pc can keep up with the speed ,as 
i have another module ,which is a one channel receiver ,with the decim set to 
8.and the program works well
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Re:Discuss-gnuradio Digest, Vol 90, Issue 26

2010-05-27 Thread weizhongshan
hello everyone ,I want to use the fm_tx_2_daughters.py as a template to realize 
my own module ,so  I copy it to my own folder.
but when I set the interpolate to 64 and test the copy module ,"uU" 
appears.then I run the usrp_benchmark_usb.py,the result shows "Max USB/USRP 
throughput = 32MB/sec".I wonder the "uU" appears
   thanks forward在2010-05-27 00:00:43,discuss-gnuradio-requ...@gnu.org 
写道:
>Send Discuss-gnuradio mailing list submissions to
>   discuss-gnuradio@gnu.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>   http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>or, via email, send a message with subject or body 'help' to
>   discuss-gnuradio-requ...@gnu.org
>
>You can reach the person managing the list at
>   discuss-gnuradio-ow...@gnu.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Discuss-gnuradio digest..."
>
>
>Today's Topics:
>
>   1. Re: Carrier leakage on transmit (Matt Ettus)
>   2. Re: 802.15.4 how to forward a parameter to a c++ block
>  (George Nychis)
>   3. Re: Carrier leakage on transmit (Matt Ettus)
>   4. Re: Ethernet and bursting (Matt Ettus)
>   5. Re: new inband plan? message passing? (Matt Ettus)
>   6. RFX-900/1800 very low Tx power in 1800Mhz band (Uri Savoray)
>   7. About tunnel.py again (Juan Quiroz)
>   8. Re: About tunnel.py again (Eric Blossom)
>   9. Re: tvrx and usrp_tv_rcv (Muhammad Najib)
>  10. Re: 802.15.4 how to forward a parameter to a c++ block
>  (bjoe...@ee.ethz.ch)
>  11. USRP1 Simulatenous Receive and Transmit (Jim V)
>  12. USRP1 Simultaneous Receive and Transmit (Jim V)
>  13. Re: Hi all, how to use usrp and gnuradio support
>  triangulation to locate a cell phone (John Wu)
>  14. 802.15.4 how to forward a parameter to a c++ block
>  (bjoe...@ee.ethz.ch)
>  15. Re: 802.15.4 how to forward a parameter to a c++ block
>  (Markus Becker)
>  16. Re: 802.15.4 how to forward a parameter to a c++ block
>  (bjoe...@ee.ethz.ch)
>  17. Wimax (Mohammad Hosein)
>  18. Re: About tunnel.py (Jim V)
>  19. gcellized FFTW has broken gcell block (matty)
>  20. Re: USRP1 Simultaneous Receive and Transmit (Matt Ettus)
>  21. Re: 802.15.4 how to forward a parameter to a c++ block (Josh Blum)
>
>
>--
>
>Message: 1
>Date: Tue, 25 May 2010 09:03:37 -0700
>From: Matt Ettus 
>Subject: Re: [Discuss-gnuradio] Carrier leakage on transmit
>To: Charles Brain 
>Cc: discuss-gnuradio@gnu.org
>Message-ID: <4bfbf4d9.2010...@ettus.com>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>On 05/25/2010 03:17 AM, Charles Brain wrote:
>> Hi,
>>
>> Is there any way of calibrating out or mitigating the carrier at the WBX
>> tx frequency? I am sending
>> a wideband signal and the carrier (which I assume is due to dc coupling
>> in the WBX) is at a significant level compared to my signal.
>
>
>What Johnathan describes is a way of hiding the DC offset by moving it 
>outside your passband.  The proper thing to do is to actually correct 
>it.  In order to do that, you'll need to write a little bit of code, but 
>it isn't too complex.  The DC offset will be a function of many things, 
>including LO frequency and temperature.  These are the steps you need to 
>follow:
>
>1 - Tune your TX to the frequency you want and turn it on.  You don't 
>need to transmit a strong signal, but you do need to transmit.  You can 
>transmit at a very high interpolation as well, since there is really no 
>signal there.
>
>2 - Tune your RX to a different but nearby frequency.  +1 MHz away is 
>reasonable
>
>3 - Measure the amplitude of the TX DC offset as received by the RX (in 
>this case at -1 MHz).  Iteratively adjust your I TX DC offset number 
>until you get to the lowest power you can see.  Then do the same for Q. 
>  If it still isn't low enough, do I again.
>
>
>Matt
>
>
>
>--
>
>Message: 2
>Date: Tue, 25 May 2010 12:14:12 -0400
>From: George Nychis 
>Subject: Re: [Discuss-gnuradio] 802.15.4 how to forward a parameter to
>   a c++   block
>To: bjoe...@ee.ethz.ch
>Cc: discuss-gnuradio@gnu.org
>Message-ID:
>   
>Content-Type: text/plain; charset="iso-8859-1"
>
>On Tue, May 25, 2010 at 10:16 AM,  wrote:
>
>> Hi,
>>
>> I'm currently using the UCLA ZigBee PHY implementation posted on:
>> https://www.cgran.org/wiki/UCLAZigBee
>> with gnuradio.
>>
>> My question is the following:
>> How can I forward a parameter from: src/python/ieee802_15_4_pkt.py
>> ... e.g. from the "send_pkt(...)" function (or any other)
>> to the c++ block in : src/lib/ucla_symbols_to_chips_bi.cc ?
>>
>> Or more generally speaking: How can I forward a parameter from a python
>> application to the c++ processing block?
>> If possible it would be great to use the io_signatures...
>>
>>
>during instantiation of the block or during runtime?  If it's during
>instantiation, you can use a parameter to the constructor o

[Discuss-gnuradio] Re:usrp1 benchmark_ofdm.py

2010-05-19 Thread weizhongshan
  I'm a newer to USRP ,I'm testing the benchmark_ofdm.py module,and find the 
last packet is not been received.I wonder why 
   best wishes
wei
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio