[Discuss-gnuradio] CANNOT shutdown usrp with destructor

2010-06-20 Thread zzw.1012
Hi, I am studying GNURadio now. but I have a problem with it. At first, there is a test file called test_usrp_standard_tx.cc. This file is work well and usrp can be shutdown automatically when all my wanted data are transmitted. then, I add a code like followed: //test_usrp_standard_tx.cc .

[Discuss-gnuradio] Can not use howto with c++

2010-06-08 Thread zzw.1012
Hi, Now, I find a good method to make use of gnuradio blocks with c++ and without python. I get it from http://gnuradio.org/redmine/repositories/browse/gnuradio/gnuradio-examples/c++/dial_tone. So , after install gr-howto-write-a-block successfully, I want to test the block with c++ a

[Discuss-gnuradio] output is all 0 in howto_square_ff::general_work()

2010-05-22 Thread zzw.1012
Hi, Thanks to Seeve Bunch especially and sorry for my silly question. It's work well now. but , I still have some perplexity. here is the printf information in the file of howto_square_ff :: general_work(): noutput_items = 4 input_items[0] = -3.00 output_items[0] = 9.00 input_

[Discuss-gnuradio] output is all 0 in howto_square_ff::general_work()

2010-05-21 Thread zzw.1012
Hi, I am studying how to write a signal processing block , since I find it's a good way to understand the gnuradio's numerous code and I wok well too . when I add printf information as followed: int howto_suquare_ff :: general_work ( int noutput_items,

Re:Re: [Discuss-gnuradio] PACKET FORMAT "error"

2010-05-11 Thread zzw.1012
thank you again best wishes > > On Sun, May 9, 2010 at 11:28 PM, zzw.1012 wrote: > > Hi, > > I'm studying benchmark_tx.py now. I find that the packet size is not > > right (at least I'd like to think so) in the process of making packet, which > > c

[Discuss-gnuradio] how to configure my two usrp

2010-03-29 Thread zzw.1012
Hi, Now ,I am studying usrp! but ,I meet some problems .I have two usrp board. each usrp board has one daugtherboard named Flex 2400.I want to send data with one usrp board ,and receive data with the other. This is my send_uspr board configure: which = 0; usrp_subdev_spec spec(1,0); amp = 30